You should allow clicking on button with type ``reset`` (maybe it should be a separate PR