Preserve the detached video dialog size when changing tools

The relayout to handle the changed subtoolbar size was fitting the
dialog to the size of the video, which was rather undesirable.