conditional instantiation of dialogs