Fix destroy file chooser dialog for export button