fixup! editor: make Team config importing dialog modal and set parent window for it

The widget may not be in a window at page init time, but is when the widget
is realized.  Get the toplevel parent at realize time.