add edit button to each snippet