dialog default button?

dialog default button?

On UI Dialog, you can specify the closeOnEscape option to get the windows default "cancel" behavior.
 
How can I assign the default "submit" behavior to a button, so that the button click is fired when the Enter key is pressed?