Widgets now get cleaned up on scan if the associated element is no longer in the DOM.