Cats have shorter stomachs so they digest food faster. Since food spends less time in their stomachs they have to eat food with lots of proteins and calories, for them to have nutrition. But the poop also comes out with still lots of proteins and calories.
And dogs love proteins!!!
For lots of dogs, cat poop is almost a treat or a replacement for dog food!
Keep training her on not doing that.
Use a word command to negate access to food, or put her out. Repetition is key.