added modal on click to view player details