made pin modal an individual file