Changed edit links to buttons

Links break the browser history when clicked