@Override
	public void close() {
		buildEditor();
		setStatusText("");
		super.close();
	}
A dialog that prompts the user to select a script.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/script/ScriptSelectionDialog.java