Flip the burger (onions will now be on the bottom). Place a slice of cheese on top, if using. Place the top hamburger bun on top of the cheese and the button bun on top of that. Cover the pan to let them steam with the onion vapor. The onions will cook so the book bits are crispier and then there's a layer of more caramelized onions, and then a layer of more steamed onions