Delete modals placed inside the loop