Add ask flag to confirm submissions.

Let the user opt in to submission confirmation to avoid accidentally
submitting an assignment.