End of life planning and dementia