This seems to be a common problem, and I did not find a satisfactory answer. There are a few similar questions about stack overflows and the best answer I've seen is to grab the keys and initiate the action yourself (this was for the login launching the button, so f5 could be more difficult to update). I saw this myself in a project that I am working on too.
I suspect setting modal to false might help, but I haven't tried it yet.
Edit:
I found this on line 539 of ui.dialog.js:
events: $.map('focus,mousedown,mouseup,keydown,keypress,click'.split(','),
Removing the keys and pressing the keys there seemed to allow the usual browser keys to work. Now mine looks like this:
events: $.map('focus,mousedown,mouseup,click'.split(','),
I do not know what functionality I would remove by doing this. The only events of the place seem to be on line 549:
$(document).bind($.ui.dialog.overlay.events, function(event) { var dialogZ = $(event.target).parents('.ui-dialog').css('zIndex') || 0; return (dialogZ > $.ui.dialog.overlay.maxZ); });
It would be nice if this were fixed in the official version.
David hogue
source share