Added a confirm dialog when someone tries to delete a document

Fixes #132