Rewrite of the "Export as..." dialog