Added cancel label and cancel callback function

The label of the cancel button and a custom optional callback function
can now be specified. Works just like the success button.