It works sort of BUT......
....my 18 month old border collie is not food driven.
She'll do anything for her favorite toy though.
So this doesn't work well on it's own for us.
She is not eager at all to press the button so she can have a treat or a bit of her food.
I had to add a step in between.
Press the button, the reward is to throw her favorite toy which she brings back to me and puts it in my hand and then she has the reward out of the tray for bringing it back, eagerly.
The dispenser is a bit hit and miss though.