making the submit button save the comment