titles and validation for dialogs