Confirm before deleting upload documents.

This was requested by Anu of MIT.

See #1147.