void (final JComponent place) { AddCustomLibraryDialog dialog = AddCustomLibraryDialog.createDialog(myDescription, myContext.getLibrariesContainer(), myContext.getModule(), myContext.getModifiableRootModel(), null); dialog.show(); myValidatorsManager.validate(); }