Improving the functionality

Destroying the data on dismissal in the form