send form data synchonously before form unload, as asynchronous post may be aborted during form unload