option to set dialogs parent