@Override
			public void actionPerformed(ActionEvent e) {

				if (textField.isChanged()) {
					textField.reset();
				}
				else {
					// When not edited, pass the event up to the chooser so the behavior works as
					// it does elsewhere in the dialog.
					escapeCallback();
				}
			}
Constructs a new ghidra file chooser

@param model the file chooser model
@param parent the parent component
Ghidra/Framework/Docking/src/main/java/docking/widgets/filechooser/GhidraFileChooser.java