I don't have that problem with the dogs, but I do with my cats. I keep everything in the pantry or cabinets. I have baby locks on my cabinets and I keep my garbage can in the pantry. I keep nothing edible on the counters.