             title       : 'Use Selected Kite'
             cssClass    : 'green'
             callback    : =>
+
+              {message, list} = container
+
               kite = list.controller.selectedItems.first.getData()
-              if kite.machine
-                message.show()
-              else
-                message.hide()
-                @assignKite kite
+              return message.show()  if kite.machine
+
+              message.hide()
+              @assignKite kite
+
           button_delete :
             title       : 'Delete VM'
             cssClass    : "red #{if @getOption 'reassign' then 'hidden'}"

            iconOnly    : yes
            cssClass    : 'retry'
            callback    : =>
              button_reload.hide()
              message.hide()
              loader.show()
              @fetchKites()
          loader        :
            cssClass    : 'inline'
          message       :
            text        : 'This kite is in use.'
            cssClass    : 'inline hidden'

        list.controller

          .on 'ItemDeselectionPerformed', ->
            button_assign.disable()
            message.hide()

          .on 'ItemSelectionPerformed', button_assign.bound 'enable'




      listKites: (data) =>

        container       = view.addTo @container,
          message_warn  :
            text        : "We are unable to reach your managed vm
                          (#{@machine.ipAddress}), but we've found following
