docs: protected void removeUnvalidPathFields() {
  
          int counter = 0;
          List<I_CmsEditableGroupRow> rowsToRemove = new ArrayList<I_CmsEditableGroupRow>();
          for (I_CmsEditableGroupRow row : m_resourcesGroup.getRows()) {
              FormLayout layout = (FormLayout)(row.getComponent());
              CmsPathSelectField field = (CmsPathSelectField)layout.getComponent(0);
              if (!m_cms.existsResource(field.getValue())) {
                  rowsToRemove.add(row);
              }
          }
  
          for (I_CmsEditableGroupRow row : rowsToRemove) {
              m_resourcesGroup.remove(row);
          }
      }