For faster more stubborn dogs I really find the squirt bottle useful with just plain water. You can catch them in the act and mark the act with the squirt so they'll associate it with a negative rather then self rewarding.
Otherwise remove the temptation, gate off the kitchen unless you're in it and able to supervise her in there.
Jasmine - Female Miniature Poodle - born Aug 15, 2010
Loker Delgado Von Stalworth - Male GSD - born Jan 26, 2012
Koda & Zazu - 5 year old male cats
Alex - Male Cocker Spaniel (rescue) - RIP Cuddlebug 2007-2010