private void setLastExportDirectory(File file) {
		Preferences.setProperty(Preferences.LAST_EXPORT_DIRECTORY, file.getParent());
		Preferences.store();
	}
Construct a new ExporterDialog for exporting a program, optionally only exported a
selected region.

@param graph the graph to save
@param exporters the list of known exporters
Ghidra/Features/GraphServices/src/main/java/ghidra/graph/export/GraphExporterDialog.java