Makes sure that the popup window doesn't get too big when the window is wide for live preview.
Changes RTE link dialog to unlink automatically  when there's no href.