code: public void clear ()
      {
          _popups.clear();
          if (_showingPopup.get() != null) {
              _showingPopup.get().hide(true);
              _showingPopup.update(null);
          }
      }
docs: Clears out the stack completely, removing all pending popups and clearing any currently
  showing popup.