Split blocker div out into a separate function.

IE was having issues with this blocker div being applied when making the
editor readonly when opening dialogs.