GUI-524: Hide drop-down menus when modals display on detail pages with tiles or table rows with gear icons