code: public void setCloseHandler(CloseHandler<PopupPanel> closeHandler) {
  
          m_closeHandler = closeHandler;
          if (m_dialog != null) {
              m_dialog.addCloseHandler(closeHandler);
          }
      }
docs: Sets the dialog close handler.<p>
  
  @param closeHandler the close handler