Fix for the link dialog and fullscreen editor bugs

Prevent output of HTML for the dialogs if they've already been written for the main editor.