 
       return if KD.showError err
 
-      if credentials.length is 0
+      if credentials.length is 0 and @addCredentialForm?
         @credentialBox.hide()
         @instanceListView.hide()
         @addCredentialForm.buttons.Cancel.hide()

    provider = @getOption 'provider'

    @addCredentialForm?.destroy()
    @addCredentialForm = ComputeController.UI.generateAddCredentialFormFor provider

    @addCredentialForm.on "Cancel", =>
      @addCredentialForm.unsetClass 'in'


    @addSubView @header
    @addSubView new KDCustomHTMLView
      tagName : "p"
      partial : @getData().description
    @addSubView @loader
    @addSubView @content

