       return @handleError err  if err
 
       @addSubView @mainView = new AdminIntegrationSetupView {}, data
+      @loader.destroy()
 
 
   handleConfigure: ->

      return @handleError err  if err

      @addSubView @mainView = new AdminIntegrationDetailsView {}, data


  handleError: (err) ->

      partial = 'There is no integration related with this identifier.'

    @addSubView @mainView = new kd.CustomHTMLView { partial, cssClass: 'error-view' }


  createLoadingView: ->

    @addSubView @loader = new kd.LoaderView
      size       : width : 26
      cssClass   : 'action-container'
      showLoader : yes
