glue 8x2mm magnets into the hole on both tray and lid
i recommend gluing some cushioning type material on the bottom of the inside of the tray