How to disable pop up on clearing of the form?