} else if (source == createLanguageLink) {
// Show new language sub form in an overlay window
subCtr = new I18nConfigSubNewLangController(ureq, getWindowControl());
listenTo(subCtr);
cmc = new CloseableModalController(getWindowControl(), "close", subCtr.getInitialComponent());
cmc.activate();
listenTo(cmc);
} else if (source == deleteLanguageLink) {
// Show delete language sub form in an overlay window
subCtr = new I18nConfigSubDeleteLangController(ureq, getWindowControl());
listenTo(subCtr);
cmc = new CloseableModalController(getWindowControl(), "close", subCtr.getInitialComponent());
cmc.activate();
listenTo(cmc);
} else if (source == importPackageLink) {
// Show import languages sub form in an overlay window
subCtr = new I18nConfigSubImportLangController(ureq, getWindowControl());
listenTo(subCtr);
cmc = new CloseableModalController(getWindowControl(), "close", subCtr.getInitialComponent());
cmc.activate();
listenTo(cmc);
} else if (source == exportPackageLink) {
// Show export languages sub form in an overlay window
subCtr = new I18nConfigSubExportLangController(ureq, getWindowControl());
listenTo(subCtr);
cmc = new CloseableModalController(getWindowControl(), "close", subCtr.getInitialComponent());
cmc.activate();
listenTo(cmc);
} else if (source == deletePackageLink) {
// Show export languages sub form in an overlay window
subCtr = new I18nConfigSubDeletePackageController(ureq, getWindowControl());
listenTo(subCtr);
cmc = new CloseableModalController(getWindowControl(), "close", subCtr.getInitialComponent());
cmc.activate();
listenTo(cmc);
}
}