optBtn[0].addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ev) {
JwatSession newSession = e.getSession();
dialog.dispose();
JWatWizard wizard = (JWatWizard) ((WizardPanel) tabbedPane.getComponent(currentPanel)).getParentWizard();
session.copySession(newSession);
wizard.setEnableButton("Next >", true);
wizard.setEnableButton("Solve", false);
((InputPanel) tabbedPane.getComponent(JWATConstants.WORKLOAD_INPUT_PANEL)).setCanGoForward(true);