[Bug #8657] Backups the widget instances of active and focused widgets, instead of DOM elements.