docs: public void openEditorForElement(final CmsContainerPageElementPanel element, boolean inline, boolean wasNew) {
  
          if (element.isNew()) {
              //openEditorForElement will be called again asynchronously when the RPC for creating the element has finished
              m_controller.createAndEditNewElement(element, inline);
              return;
          }
  
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(element.getNoEditReason())) {
              CmsNotification.get().send(
                  CmsNotification.Type.WARNING,
                  "should be deactivated: " + element.getNoEditReason());
              return;
          }
  
          if (CmsDomUtil.hasClass(CmsContainerElement.CLASS_GROUP_CONTAINER_ELEMENT_MARKER, element.getElement())) {
              openGroupEditor((CmsGroupContainerElementPanel)element);
          } else {
              m_controller.setContentEditing(true);
              m_controller.disableInlineEditing(element);
              m_controller.getContentEditorHandler().openDialog(element, inline, wasNew);
              element.removeHighlighting();
          }
      }