     @swappable.swapViews()
 
   cancelItem:->
-    @data.key = @form.keyTextarea.getValue()
-    if @data.key
+    @getData().key = @form.keyTextarea.getValue()
+    if @getData().key
       @swappable.swapViews()
     else
       @deleteItem()

      name         : "sshkey"
      cssClass     : "light"

    @titleInput.setValue @data.title if @data.title
    @keyTextarea.setValue @data.key if @data.key

    @addSubView formline2 = new KDCustomHTMLView
      cssClass : "button-holder"

  viewAppended:->
    super
    @form = form = new AccountSshKeyForm
      delegate : this
      cssClass : "posrelative"
    , @getData()

    @info = info = new KDCustomHTMLView
      tagName  : "span"
