get other button to close sweetalert code example Example: sweetalert close on custom button click swal.close()