implement ExportDialog