6: links, images and video only open dialogs if the selection is within the current editor

(Needs some work for IE)