users can now cancel image upload

This allows users to cancel their image uploads.

**Note:** It does not show any confirmation dialog before cancelling the upload as this is quite complicated to handle correctly in an asynchronous environment.