This is where the ALT F4
Or the more powerful CTRL W
Comes in handy