I couldn't find a dice box with a magnetic lid just the way I wanted, so I threw one together.
I've included a blank lid and one with a dice graphic, as well as a couple of small test pieces to ensure your magnets will fit.
Required:
8 x Magnets (6x2mm)
No glue should be required for the magnets; I just forced them in carefully with a clamp.