Lock the delete resources modal during deletion