private void connect() {
		RepositoryAdapter repository = activeProject.getRepository();
		if (repository != null) {
			if (!repository.isConnected()) {
				try {
					repository.connect();
				}
				catch (NotConnectedException e) {
					// don't think this can happen
				}
				catch (IOException e) {
					ClientUtil.handleException(repository, e, "Repository Connection",
						getTool().getToolFrame());
				}
			}
		}
	}
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