teardown editor when selector does not match

Attempts to fix #7457

I'm not yet convinced this fixes the original issue, but it handles another case when failing to match a target for the selector. Removes some RTE related to the target's style missing. 

Sill investigating the main issue. Do not merge yet.
**Update** still can't reproduce the 2-editors issue, but this PR does solve a symptom which might cause it. Please test.