I don't think that preventing the user from closing the dialog and cancelling their uploads will be a good user experience. We should at least provide a way of cancelling uploads that are in progress?