Prepare the onions and beef a day in advance; keep them in separate airtight containers in the refrigerator and reheat before assembling. The burger sauce can also be made up to 4 days ahead and stored in the fridge. Store any leftovers in an airtight container for up to 3 days.