When editing airships (possibly buildings too), you can press ESC to leave the builder. However, there is no prompt to ask if you want to save before leaving. I lost about 30 minutes of work because of my error =(
Goooood point. I'll add "are you sure" dialogs to places where exiting would lose you serious progress.