fix modal display when player is open