             title: "An error occurred"
 
         new KDModalView
-          title    : credential.title
-          subtitle : credential.provider
-          content  : "<pre>#{cred}</pre>"
+          title          : credential.title
+          overlay        : yes
+          overlayOptions :
+            cssClass     : 'second-overlay'
+          subtitle       : credential.provider
+          content        : "<pre>#{cred}</pre>"
 
   checkIsBootstrapped: (item) ->
 

kd                        = require 'kd'
KDListView                = kd.ListView
KDModalView               = kd.ModalView
KDNotificationView        = kd.NotificationView

showError                 = require 'app/util/showError'


    credential = item.getData()

    # Since KDModalView.confirm not passing overlay options
    # to the base class (KDModalView) I had to do this hack
    # Remove this when issue fixed in Framework ~ GG
    overlay = new KDOverlayView cssClass: 'second-overlay'

    modal   = KDModalView.confirm
      title       : 'Remove credential'
      description : 'Do you want to remove ?'
      ok          :
        title     : 'Yes'
        callback  :  => credential.delete (err) =>
          modal.destroy()
          @emit 'ItemDeleted', item  unless showError err

    modal.once   'KDObjectWillBeDestroyed', overlay.bound 'destroy'
    overlay.once 'click',                   modal.bound   'destroy'

    return modal


  shareItem: (item) ->
