show error dialog if upload failed