@Override
	protected void cancelCallback() {
		userChoice = null;
		super.cancelCallback();
	}
A dialog that prompts the user to select a script.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/script/ScriptSelectionDialog.java