Do diaper genies mask the smell?

I live in a first floor apartment and the dumpster is halfway across the complex. So sometimes when I let my dog out, I don't want to go all the way down there to throw away her poop. I have tried putting a kitchen trash can with a lid and scented trash bags on my patio, but it smells so bad I can't sit outside and enjoy my patio until I dump it.

Would a diaper genie work?