A dog stood up and rubbed a man's hand in the room, and an ambulance alarm came from outside.