Added swal.cancelAlert() method that can be called globally to close the current modal with close animation.