Trying to bring dialogs out of their editor-specific ghetto, as proper widgets; bringing in net patterns at same time