Some styling
If a dialog window is open and the editor is in focus, close it.
Different demensions for the media dialog when an assets directory is not present. Make sure the relative link dropdown doesnt change text value when a change event is fired