Add specific event when deleting file from the upload modal.