if (source == cancelLink) {
fireEvent(ureq, Event.CANCELLED_EVENT);
} else if (source == selectLink) {
if (selectedParent != null) {
CatalogManager cm = CatalogManager.getInstance();
boolean success = cm.moveCatalogEntry(toBeMovedEntry, selectedParent);
if (success) {
fireEvent(ureq, Event.DONE_EVENT);
} else {
fireEvent(ureq, Event.FAILED_EVENT);
}