'Delete a document' functionality.