send form data synchronously before form unload for autosave