Make dialogs accept enter key