disable sweetalert.