@Override
	protected void okCallback() {
		if (isApplyEnabled()) {
			applyCallback();
		}
		if (errorMsg == null) {
			cancelCallback();
		}
	}
Gets called when the user selects Ok
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/EditPluginPathDialog.java