Excellent advice. And, the dog needs to understand that.
Story: My wife or daughter can open the back door and call the dog (who is snoozing in front of the fireplace) and say, Joe! Outside!, and Joe stays in his bed and looks at me, I just point to the door, he gets up, stretches, and goes out. Drives my girls nuts.