private boolean applyChanges() {
		if (listener != null) {
			listener.beforeChangesApplied();
		}
		try {
			if (panel.apply()) {
				setHasChanges(false);
				return true;
			}
		}
		finally {
			if (listener != null) {
				listener.changesApplied();
			}
		}
		return false;
	}
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