Search result gets lost using Escape key - fixed