Add popup error message if the submission isn't saved. Fix #1136