         spellcheck      : no
       callback          : @bound 'addDomain'
 
+    @input.on 'EscapePerformed', @bound 'resetInput'
+
     @inputView.addSubView new KDView
       partial           : @domainSuffix
       cssClass          : 'domain-suffix'

    windowController.addLayer @input
    @input.setFocus()

    @input.off  "ReceivedClickElsewhere"
    @input.once "ReceivedClickElsewhere", (event)=>
      return  if $(event.target).hasClass 'domain-toggle'
      @emit "DomainInputCancelled"
      @inputView.hide()
      @warning.hide()



        @domainController.addItem { domain, machineId }
        computeController.domains = []

        @hideInput()

      .catch (err)=>
        kd.warn "Failed to create domain:", err
