Hide uploading dialog when upload fails
Merge pull request #643 from mlocati/fix-uploaderror-dialog

Hide uploading dialog when upload fails