added onCancel method
added alternative
clearer event names
Added serialization capabilities

Methods that return a jQuery object are prefixed with $
added example for serialization
added API entry for serialize