close the submission