fixed checkbox issues when adding existing players, also added a modal ui dialog for editing a player