Mimic osu! exit button

On osu!, clicking the exit button closes the game after clicking. Pressing ESC on osu! brings up the exit menu.