refactor view and template for assignees modal