SweetAlert implementet (not used yet)