Only dispose PaneElement subscriptions when pane is destroyed

Not when the element is detached, because it might be reattached.