A wing of a dementia care home will be transformed into a residential home for disabled children.