Only compareDocumentPosition if there is a target
interactive tooltips need to give focus back to the editor when hidden
fix invalid CSS values (warnings Chrome console while loading edit.html)