SweetAlert package dependency added.
Replaced alert() with sweetAlert()