display spinner when exporting