Fix confirmation on upload cancel [beta]

Use window.confirm() both for the main overlay and upload progress.

Change-Id: If52e6ff574b81610b473bdd560c8df269af01939