detach container before batch DOM updates for sd-each