Adds attachment delete functionality
Improved appearance for doc delete x