click handlers should be attached to new buttons instead of old input[type=text] elements
filagree