save dialogs to dockmanager model.