fix additional cleanup issues where WidgetComponent was not removed from
the DOM.