prevent quizzes repeatedly submitting even when 500 error