Bug/delete modal multiple items

changes to fix delete bug for multi files