Only clear the input field if the reply was posted.