protected boolean canClose() {
		if (!canStopTasks()) {
			return false;
		}
		if (!canClosePlugins()) {
			return false;
		}
		if (!pluginMgr.saveData()) {
			return false;
		}
		return doSaveTool();
	}
Closes this tool, possibly with input from the user. The following conditions are checked
and can prompt the user for more info and allow them to cancel the close.
<OL>
	<LI>Running tasks. Closing with running tasks could lead to data loss.</LI>
 <LI>Plugins get asked if they can be closed. They may prompt the user to resolve
 some plugin specific state.</LI>
	<LI>The user is prompted to save any data changes.</LI>
	<LI>Tools are saved, possibly asking the user to resolve any conflicts caused by
 changing multiple instances of the same tool in different ways.</LI>
	<LI>If all the above conditions passed, the tool is closed and disposed.</LI>
</OL>
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginTool.java