                 vex.dialog.buttons.NO
             ]
 
-            callback: (confirmed) =>
-                return unless confirmed
-                @decommission().done callback
+            callback: (data) =>
+                return unless data
+                @decommission(data.message).done callback
 
 
     promptReactivate: (callback) =>

            url: "#{ @url() }/freeze?user=#{ app.getUsername() }"
            type: "POST"

    decommission: =>
        $.ajax
            url: "#{ @url() }/decommission?user=#{ app.getUsername() }"
            type: "POST"

    reactivate: =>
        $.ajax


    promptDecommission: (callback) =>
        state = @get 'state'
        vex.dialog.open
            message: @decommissionTemplate {@id, @host, @type}
            input: """
                <input name="message" type="text" placeholder="Message (optional)" />
            """
            buttons: [
                $.extend {}, vex.dialog.buttons.YES,
                    text: 'Decommission',
