Insomnia and Dementia

Are they connected? Everyone has a few restless nights. Maybe