What a great guard dog!
That happened to me. I turned on the wrong burner and left the kitchen.
A plastic butter dish was on the hot burner. The smoke alarm sounded and the whole house filled with toxic white smoke.
I'm glad your pup warned you before things got out of hand.