Back to the subject at hand. . .
Fatsoforgotso, your dog situation is what I call "repeat offenders". You know their bad habits; you know where they are. Good 'ol household ammonia in a squirt bottle does the trick. Once dosed, they'll remember. Everyone walks away safely. Reading some of the posts above, occurs to me a little virtual ammonia might be good.