wiring up the edit/delete stuff for sites and repos