code: public static <T extends PopupPanel> T centerOn (T popup, Widget centerOn)
      {
          return centerOn(popup, centerOn.getAbsoluteTop() + centerOn.getOffsetHeight()/2);
      }
docs: Centers the supplied vertically on the supplied trigger widget. The popup's showing state
  will be preserved.