preserve-form attribute is added, for not resetting the form