; pup').is(':visible'); if (shouldDismissSearchPopup) { onPopupClose(); } }); ;