clear the post form after a post is successfully submitted