It is also okay to leave the oil out and just add the onions to the baking dish as they are.

When well combined, add the olive oil and mix through.