                                   :actions [(button/button {:on-click #(om/set-state! owner :show-modal? false)} "Cancel")
                                             (forms/managed-button
                                               [:button.btn.btn-success {:data-success-text "Sent"
+                                                                        ;; TODO -ac Switch this to the real implementation before merging
                                                                         :on-click #(.log js/console "Invitees: " (seq (invitees users)))
                                                                         ;; :on-click #(raise! owner [:invited-github-users (merge {:invitees (invitees users)
                                                                         ;;                                                         :vcs_type (:vcs_type opts)}

                                   "bitbucket" [:i.fa.fa-bitbucket]
                                   nil)])
                   :action  (om/build invite-teammates-modal {:selected-org-ident selected-org-ident
                                                              :app app})
                   ;; TODO -ac Remvoethis cruft
                   #_(html
                              [:div (when (:show-modal? (om/get-render-state owner))
                                      (om/build invite-teammates-modal {:selected-org-ident selected-org-ident
                                                                        :app app}))
                               ])}
                (if-let [users (:users selected-org)]
                  (table (add-follow-counts users (:projects selected-org)))
                  (html [:div.loading-spinner common/spinner])))

             {:disabled? (nil? users)
              :primary? true
              :on-click (fn []
                          ((om/get-shared owner :track-event)
                             {:event-type :invite-teammates-clicked
                              :properties {:view :team}})
                          (om/set-state! owner :show-modal? (not (:show-modal? (om/get-render-state owner)))))}
