Fixed problem detaching the body element accidentally, while trying to solve the successor resolution when a container is declarated as the top level container that points to an specific html element in the dom.