Harry doesn't actually do this - he tends to take himself off to bed when we're eating - poor, hard done by, little boy....
However, we had a Hoover...I'm sorry, I meant a Labrador, called Rosie who was the world's worst...we actually put a piece of masking tape across the carpet and told her to 'Stay behind the Line'...!!!! Sit, and Stay!

And she did!!!!
A year or so later, that 'line' came up, but she would always stay behind that virtual line...worked a treat!

Sally + Harry x