replace primary link with actual button

this was it can be properly enabled and disabled