when unloading window due to server error, do not try to confirm
when unloading window due to server error, do not try to confirm

openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js