@Override
	protected void cancelCallback() {
		close();

		// reset original state of dialog for next display of dialog
		enableButtons(false);
		setStatusMessage(EMPTY_STATUS);
		setApplyEnabled(false);
		errorMsg = null;
	}
Define the Main panel for the dialog here.
@return JPanel the completed <CODE>Main Panel</CODE>
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/EditPluginPathDialog.java