I am using sweetalert 2 where i just need to open the swal directly calling ajax instead of doing an confirm or something, what change i need to do, following this code