change edit and delete links to buttons