I made the mistake of putting my resistors in a partitioned box.
Next time get one of the more advanced boxes. These come with a safety feature - a lid!
I've also taken to putting Rs and Cs into small (1.5x3 or 2x4 inch) ziplock bags. I made a nice score on the clearance aisle of those semi-disposable imitation Tupperware sandwich-size boxes a couple years back, and have a few dozen of them with resistors (split by multiplier) and other small parts.