Fix some dialog keyboard_manager problems