Make escape key cancel pending select