UI Dialogs: buttons: context
After upgrading to 1.5b4 I noticed that the context for the callback
function, assignable to buttons for the UI Dialog, has changed.
Previously it was the button itself; now it's an element upon which
the dialog has been created. And because I relied on the context to
reference the button itself, I had to change my code to do make use
of .target of the event which is luckily being passed to the callback
What I want to say here, that perhaps it should be clearly noted in
the docs at http://docs.jquery.com/UI/Dialog/dialog#options, that the
context of the button callback function is [now] the dialog element.