Clearing a dom before rerendering something new.