code: private void closePopupViews(AbstractOrderedLayout layout) {
  
          for (Component item : layout) {
              if (item instanceof PopupView) {
                  ((PopupView)item).setPopupVisible(false);
              }
          }
      }
docs: Closes the visible popup view children of the given layout.<p>
  
  @param layout the layout