Added functions to check open swal , close open swal

2 functions added.
swal.cancelAlert() --- close any open swal
swal.isOpen() --- check if any swal is open currently