clear form after clicking on cancel