So long as you don't close the tab (or have a browser crash), you don't really lose the edit. You can resubmit later when it's online. Or you can open up the browser's developer tools, refresh/resend, inspect the POST request, and copy your data out. Admittedly the second one is not ideal but it always works.
"Kitto daijoubu da yo." - Sakura Kinomoto