adds a cancel option to the uploader.