Whenever your dog starts engaging in behaviour that you don't want? Instead of trying to train them to just not do that, train them what behaviour you'd prefer, and reward them for doing that alternative behaviour:)
The internal dialogue you have going on when this happens ("My dog needs attention/why can't you leave me alone/I'm a terrible dog owner who isn't giving my dog enough attention" etc)? Try and notice it, and let it go.
there's a whole lot of people out there feeding their dogs cookies and bacon (really!?).
^I put K on a diet about a month ago. Well, not really - the word diet is a bit harsh. But I did reduce her once a day meal down again, by 10 grams. She did notice for the first couple of nights.. but then stopped returning to her bowl to double, triple check if there was anymore in it. Being a young dog the extra couple of kg's melted off her in a week?? I'm so jealous of her fast metabolism tbh.
And second, that rawhide bones are worth about 9 donuts in human terms. Wowsers!
check out the range of dried meat/bone treats as an alternative. Great for teeth, and most of them are straight up dried meat/bone.
f you get lucky with a dog that doesn't have health problems it's not worth it. But for me? It has been a godsend.
Glad you're dog is getting the medical help he needs. I can only imagine with those kinds of conditions the long term financial stress.