Widget: Avoid memory leaks when unbinding events with `._off()`

Ref #10056
Ref gh-1319
Tabs: Avoid memory leak during refresh

Fixes #10056
Ref gh-1319
Accordion: Avoid memory leak during refresh

Ref #10056
Closes gh-1319