private String appendExporterFileExtension(String filename) {
		AttributedGraphExporter exporter = getSelectedExporter();
		String extension = "." + exporter.getFileExtension();
		if (!filename.toLowerCase().endsWith(extension.toLowerCase())) {
			return filename + extension;
		}
		return filename;
	}
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