Set the dog up for success

The idea is to provide the dog with every possible opportunity to learn that the new alternate behavior is more rewarding then the previous problem behavior.
The owner needs to supervise the dog and it’s environment so the dog is not able to perform the undesired behavior.
Since the “problem” behavior is rewarding, the dog will not get trained until the owner is consistent in managing the dog and it’s environment.