The callback called when the 'cancel' button is tapped.
If null, the 'cancel' button will be disabled.