bind to button instead of form