                             :value "Remove app",
                             :type "submit"
                             :on-click #(do
-                                         (put! controls-ch [:edited-input {:path (input-path) :value nil}])
-                                         (put! controls-ch [:saved-project-settings {:project-id project-id}])
+                                         (raise! owner [:edited-input {:path (input-path) :value nil}])
+                                         (raise! owner [:saved-project-settings {:project-id project-id}])
                                          false)}])]])))))
-
 
 (defn aws-codedeploy [project-data owner]
   (reify

                                           (get-in inputs [:aws :services :codedeploy]))

            [app-name settings] (first applications)
            {:keys [bucket key_pattern]} (:revision_location settings)
            application-root (:application_root settings)
            aws-region (:region settings)

            project-id (project-model/id project)
            controls-ch (om/get-shared owner [:comms :controls])
            input-path (fn [& ks] (apply conj state/inputs-path :aws :services :codedeploy ks))]
        (html
         [:form

                          :value "Save app",
                          :type "submit"
                          :on-click #(do
                                      (raise! owner [:edited-input {:path (input-path app-name :revision_location :revision_type) :value "S3"}])
                                      (raise! owner [:saved-project-settings {:project-id project-id
                                                                              :merge-paths [[:aws :services :codedeploy]]}])
                                      false)}])
           (forms/managed-button
            [:input.remove {:data-failed-text "Failed",
