properly destruct implicitly created block on dom node (close #498)