Binding type checking in dialogs