If you are making a cake, after baking the sponge layers and letting the cool down, maybe not leave them where the dogs can reach them when you leave the kitchen.

Nothing that a bit more buttercream can’t fix, mind.