providing the jquery event to custom button callbacks

by passing the jquery event to custom button callbacks, the callback gets the opportunity to see any values in the dialog (form changes)
Merge pull request #103 from scruffles/master

Passing jquery event to button callbacks