This is now obsolete due to the new SmartMenus, the drupal tool-drawer is no longer in the way of dialogs.