Add missing onunmatches and _super calls.
BUG DOM traversal fails after the element is removed from DOM.

Onunmatch triggers after the removal of the element from the DOM, which
makes DOM traversal fail. Use onremove instead, which triggers while the
element is still in DOM.