Make sure the DOM element is removed as well.