Add detection of unloaded widgets
Unload widgets once they are not part of the DOM anymore (page change, ...)