Add support for using the keyboard with confirm dialogs.