@Override
			public void editingCancelled() {
				if (isVisible()) {
					cancelCallback();
				}
			}
A dialog that prompts the user to select a script.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/script/ScriptSelectionDialog.java