Glove box pops open under mild acceleration

replace one of the rubber door bumpers with a round magnet with a recessed hole in the middle for a screw. Try looking in hardware for kitchen cabinet doors.