working example with "Reset" button click action