added pin id to pass to viewpinmodal

should be working