Glad it’s solved Leaper.
About 6 years ago, one of our dogs walked into a bathroom. The door was such that it would slowly swing closed. Dog got trapped. In her panic, she clawed like crazy at the door. there are teeth marks on the door knob.
Finally she chewed through the supply line to the toilet. It ran for a couple of hours before I got home. So much for our new wood floor.
Poor dog was scared and I comforted her (turned the water off first). I then bought some spring hinges for that door. The are generally used to shut a door, I installed them so it would keep the door open unless you close it.