Unified dialogs (refactoring)