swal2 do not close swal on button click code example Example: how to stop user from clicking outside sweetalert 2 allowOutsideClick: false