Made ESC close the particle window.