and remove "Gimp*" parameter from gimp_save,export_dialog_set_image(), the dialog already knows its Gimp.
The code refactoring allows better readability which will allow in turn to add more complex specific features making good use of the save/export split concept.