I did that annoying thing I sometimes do for no reason and clicked the close button by mistake after spending a couple of hours animating, and because I'm a complete idiot, I never saved on a regular basis so the work was lost.
Is it possible for you to implement a save dialog on exit?