 
     # clear all changes
     if _.isEmpty(diff.ticket) && _.isEmpty(diff.article)
+      ticketSidebar.removeClass('is-changed')
       ticketForm.removeClass('form-changed')
       ticketForm.find('.form-group').removeClass('is-changed')
-      @$('.js-reset').addClass('hide')
+      resetButton.addClass('hide')
 
     # set changes
     else
       ticketForm.addClass('form-changed')
+      if !_.isEmpty(diff.ticket)
+        ticketSidebar.addClass('is-changed')
+      else
+        ticketSidebar.removeClass('is-changed')
       for currentKey, currentValue of params.ticket
         element = @$('.edit [name="' + currentKey + '"]').parents('.form-group')
-        if diff.ticket[currentKey]
+        if !element.get(0)
+          element = @$('.edit [data-name="' + currentKey + '"]').parents('.form-group')
+        if currentKey of diff.ticket
           if !element.hasClass('is-changed')
             element.addClass('is-changed')
         else
           if element.hasClass('is-changed')
             element.removeClass('is-changed')
 
-      @$('.js-reset').removeClass('hide')
+      resetButton.removeClass('hide')
 
 
   submit: (e) =>

    App.TaskManager.update( @task_key, { 'state': @localTaskData })

  taskReset: =>
    # hide reset button
    @$('.js-reset').addClass('hide')

    # reset task state
    @localTaskData =

      currentParams =
        ticket:  @formParam( @el.find('.edit') )
        article: @formParam( @el.find('.article-add') )
      #console.log('lll', currentStore)
      # remove not needed attributes
      delete currentParams.article.form_id

      # get diff of model
      modelDiff =
        ticket:  App.Utils.formDiff( currentParams.ticket, currentStore.ticket )
        article: App.Utils.formDiff( currentParams.article, currentStore.article )
      #console.log('modelDiff', modelDiff)

      # get diff of last save
      changedBetweenLastSave = _.isEqual(currentParams, @autosaveLast )
      if !changedBetweenLastSave
        console.log('model DIFF ', modelDiff)

        @autosaveLast = clone(currentParams)
