Thought this dog was guarding its owner's grave, but a rescuer discovered an impressive secret