refactor herobox for reuse in team selection