Try and avoid two open dialogs