property ConfirmModalProps.onCancel Called on Cancel, Escape or a click on the backdrop. Type () => void