Easiest solution I can see is not to leave the dog unattended outside - can't forget them if you're outside with them.