Here’s a great essay by Fr. Stephen Freeman, an Orthodox priest who is also a philosophy professor in Tennessee. It’s entitled The True Self and the Story of Me.
It touches on the subject of why we humans find dementia so terrifying and even offers a different way of viewing a person in a vegetative state. This essay is pure gold and I highly recommend it.