Frame for sealing 3-compartment containers