fixes bug:  when user clicks on non-clickable supporting layer, it should dismiss any currently visible popup (if there is one).