     @progressBar.show()
     @statusText.show()
 
+    handler = ({ percentage }) =>
+      @progressBar.updateBar percentage
+
+      if percentage >= 100
+        @storage.unsetKey ACTIVE_MIGRATION
+        computeController.off eventName, handler
+        EnvironmentFlux.actions.loadPrivateStackTemplates().then =>
+          kd.utils.wait 500, @bound 'switchToFinishedView'
+
+    followEvent = ({ eventName, eventId }) =>
+      @storage.setValue ACTIVE_MIGRATION, { eventName, eventId }
+      computeController.eventListener.addListener eventName, eventId
+      computeController.on eventName, handler
     computeController.getKloud().migrate(
       provider: 'aws'
       groupName: slug



module.exports = class MigrateFromSoloAppView extends kd.ModalView

  constructor: (options = {}, data) ->



    @machines = null
    @credential = null

    @storage = kd.getSingleton('localStorageController').storage 'migrator'

    @mainHeader = new kd.CustomHTMLView
      tagName: 'header'
