modified the export dialog