sweetalert2 cancel button event code example Example: sweetalert close on custom button click swal.close()