@Override
  protected void doOKAction(){
    try{
      myProjectJdk = myConfigurable.getSelectedJdk(); //before dispose
      myConfigurable.apply();
      super.doOKAction();
    }
    catch (ConfigurationException e){
      Messages.showMessageDialog(getContentPane(), e.getMessage(),
                                 JavaUiBundle.message("sdk.configure.save.settings.error"), Messages.getErrorIcon());
    }
  }
@Override
  protected void doOKAction()