Dementia is often thought of as a distant possibility or something that only affects those in the last years of their life.