replaces form placeholder with a real form and clears the form on submit
submits the form data via a callback on the CommentBox
optimistically updates the state of the CommentBox before submitting the new comment