Confirm before deleting upload documents.

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