improved ExportDialog