                                   :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)}

            selected-org (when selected-org-ident (get-in app selected-org-ident))]
        (when (not= (:selected-org-ident (om/get-render-state owner))
                    selected-org-ident)
          (api/get-org-settings-normalized name vcs-type api-chan))
        ;; TODO -ac This is doing the thing, need to make it into a component
        ;; Fire on WillMount
        (when (and selected-org
                   invite-teammates?)
          #_(api/get-org-members api-chan (:name selected-org)))))

    om/IRenderState
    (render-state [_ {:keys [selected-org-ident invite-teammates?]}]

             {: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)))))}
