When a jQuery UI dialog opens, it selects one of the buttons and highlights it or sets focus to it etc... How can I stop this behaviour so that none of the buttons are highlighted when the dialog opens?
EDIT: I tried the following in the dialog options, which didn't remove focus from the buttons:
...
open:function(event, ui) { $("myunimportantdiv").focus(); },
...
NOTE: As a temporary workaround I modified the CSS for .ui-state-focus
but this isn't ideal...