public void dispose() {

		closeDialog();

		if (tool != null) {
			keyBindingProxyActions.forEach(a -> tool.removeAction(a));
		}
		keyBindingProxyActions.clear();

		popupManager.dispose();

		dialogActions.forEach(DockingActionIf::dispose);

		toolbarButtonsByAction.clear();
		dialogActions.clear();
	}
Disposes this dialog.  Only call this when the dialog is no longer used.  Calling this method
will close the dialog if it is open.
Ghidra/Framework/Docking/src/main/java/docking/DialogComponentProvider.java