replace text links with buttons