refactor(dom) deleteCurrent