@Override
	protected void okCallback() {
		if (hasChanges) {
			if (!applyChanges()) {
				return; // don't close on failure
			}
		}
		close();
	}
Construct a new OptionsDialog.

@param title dialog title
@param rootNodeName name to display for the root node in the tree
@param options editable options
@param listener listener notified when the apply button is hit.
Ghidra/Framework/Docking/src/main/java/docking/options/editor/OptionsDialog.java