Added file dialog for export data function.