try {
// create new security context
CdmStore.getLoginManager().doAuthenticate(loginDialog.getUsername(), loginDialog.getPassword());
- loginDialog.dispose();
+ loginDialog.onComplete();
// start editor context
CdmStore.getContextManager().notifyContextStartWithoutDialog(monitor);