After the owner died, the dog was sad and refused to leave