add onCancel support for confirmbox
fix test
update his