     showPopover: (e) ->
       e.preventDefault()
       e.stopPropagation()
+      $(".field-edit").popover('destroy')
       popoverView = new Edit.FieldSettings
         model: @model
       popoverView.render()

    events:
      'drop'              : 'drop'
      'click .field-edit' : 'showPopover'
      'mouseleave'        : 'hidePopover'

    triggers:
      "click .field-delete" : "form:field:delete"


    events:
      'update-sort' : 'updateSort'
      'mouseleave'  : 'hidePopover'

    updateSort: (event, model, position) ->
      @trigger "form:component:sort", model, position

    hidePopover: (event) ->
      $(".field-edit").popover('destroy')

    onShow: ->
      $(@itemViewContainer).sortable
