} else if (command.startsWith(CATCMD_EDIT)) {
String s = command.substring(CATCMD_EDIT.length());
if (s.startsWith(CATENTRY_LEAF)) {
int pos = Integer.parseInt(s.substring(CATENTRY_LEAF.length()));
linkMarkedToBeEdited = (CatalogEntry) childCe.get(pos);
repositoryEditDescriptionController = new RepositoryEditDescriptionController(ureq, getWindowControl(), linkMarkedToBeEdited.getRepositoryEntry(), false);
repositoryEditDescriptionController.addControllerListener(this);
// open form in dialog
removeAsListenerAndDispose(cmc);
cmc = new CloseableModalController(getWindowControl(), "close", repositoryEditDescriptionController.getInitialComponent(), true, translate("tools.edit.catalog.category"));
listenTo(cmc);