public void actionPerformed(ActionEvent e) {
		if (e.getSource() == create) {
			dispose();
			new ScriptEditor(frame, scriptname.getText()).setVisible(true);		
		} else if (e.getSource() == cancel) {
			dispose();
		}
	}