changed how edit show and delete shows on different items pages