Reset form if post is successfully finished