Hope it works next time too!
My dog used to beg sometimes when I eat. He learnt wery quickly that there is no food for him if he makes eye contact. So he started to some timed sit down close to me when I eat with his back towards me and his face into a corner. Now I told him that also is begging

.