[US029][Chethan] Deleting the files, when the delete is clicked inside the Document model and when the user changes the current document