My mom's toy poodle, Corky, was begging at the table (barking). We taught him to say "please" and he stopped the barking. Guess he figures he won't do it for "free". Maybe if you have him "shake hands", the reverse psychology will work as well. Just a dumb idea.