bind a event for form reset