show a spinner while uploading a file