This has been happening to me quite a bit this week. I have found a workaround, but if you haven't marked it as a bug, please let me know and I will do it.
Here's the workaround.
- Check to make sure it has saved recently ... if not, go back to step 1.
- Refresh your browser.
Every time I've tried this, it has worked and I haven't lost anything, but I always copy the code just in case because I can then paste it in again if I have to start over.