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)