I am very sorry to hear of your grandmother's passing, travlnman. I know how you feel because my maternal grandmother passed away a couple of months ago. She had been in a care home for several years, but as summer was drawing to a close it unfortunately became clear that it would be her last. She was my last surviving grandparent - I never knew my paternal grandparents, who died before I was born, and I was less than eighteen months old when my grandfather passed on.
It was great that you saw her while there was still time. It was a bit like that for me too, because I went in to see her two days before her passing. I knew there probably wouldn't be another chance and also from past experience that sometimes there just isn't a 'next time'.
But I think she was at peace when she slipped away and we had a beautiful funeral service for her.