added delete button for photos