add error message modal - refactor player object