change button to link and attach to that instead.