docs: protected void initObject() {
  
          Object o;
  
          if (CmsStringUtil.isEmpty(getParamAction()) || CmsDialog.DIALOG_INITIAL.equals(getParamAction())) {
              // this is the initial dialog call
              o = new ArrayList();
              ((List)o).add("/");
          } else {
              // this is not the initial call, get module from session
              o = getDialogObject();
          }
  
          if (!(o instanceof List)) {
              m_resources = new ArrayList();
              m_resources.add("/");
          } else {
              // reuse object stored in session
              m_resources = (List)o;
          }
      }