IDEA-117555 Search everywhere dialog is being closed immediately
(cherry picked from commit ba8037d)