use sweet alert for reload dialog