Best way to tell if a lid is open.

but it would probably be much simpler to just have a button on the box that the lid presses on when it is closed.

thats my vote

Any suggestions on the type of button I will need (what it's called)?

snap action switch
leaver switch
microswitch