Packing bubble wrap from wallmart helps, too.
That foam does work, I have used it before, and use old plastic to stuff the holes, LOL, my family fusses that I keep saving old dirty plastic bags, but my brother saw them this morning and used them to stuff an open vent....
The packing bubbles will work too.