code: public void setDialogObject(Object dialogObject) {
  
          m_dialogObject = dialogObject;
          if (dialogObject == null) {
              // null object: remove the entry from the map
              getDialogObjectMap().remove(getClass().getName());
          } else {
              getDialogObjectMap().put(getClass().getName(), dialogObject);
          }
      }
docs: Stores the given object as "dialog object" for this widget dialog in the current users session.<p>
  
  @param dialogObject the object to store