void onHide() {
    Popup popup = getPopup();
    if (popup != null) removeListener(popup);
    reference = null;
    hiddenLongEnough = false;
    timeHiddenAt = System.currentTimeMillis();
  }
void onHide()