private ToolTemplate getUpToDateTemplate(ToolTemplate template) {

		ToolManager toolManager = activeProject.getToolManager();
		PluginTool[] runningTools = toolManager.getRunningTools();
		String templateName = template.getName();
		for (PluginTool runningTool : runningTools) {
			if (runningTool.getName().equals(templateName)) {
				return runningTool.getToolTemplate(true);
			}
		}

		return template;
	}
Popup up file chooser dialog so the user can select the
location for the exported tool file.
@param template template to export
@param msgSource source of status message for successful export
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FrontEndPlugin.java