used jquery to access data for match modal