Clicking close window, esc/space exits popups