code: public void closeWindow(boolean keepFrame) {
  
          if (m_window != null) {
              m_keepFrameOnClose = keepFrame;
              m_window.close();
              m_window = null;
          }
      }
docs: Closes the dialog window.<p>
  
  @param keepFrame <code>true</code> to keep the embedded iFrame.<p>