reset form after clicking on save button