private void closeTool(final PluginTool theTool) {
		executeOnSwingWithoutBlocking(new Runnable() {
			@Override
			public void run() {
				theTool.close();
			}
		});

		// this handles the save changes dialog and potential analysis dialogs
		closeAllWindows();
	}
This driver tests the following requirements:
(1) create a new empty tool
(2) create a tool from a named ToolConfig description
Ghidra/Features/Base/src/test.slow/java/ghidra/framework/project/tool/CreateToolTest.java