implemented dialog for adding players