 
             issue = $model.$modelValue.clone()
             issue.priority = priority
-            $model.$setViewValue(issue)
 
             onSuccess = ->
                 $confirm.notify("success")
+                $model.$setViewValue(issue)
                 $rootScope.$broadcast("history:reload")
                 $loading.finish($el.find(".level-name"))
             onError = ->

                issue.revert()
                $model.$setViewValue(issue)
                $loading.finish($el.find(".level-name"))
            $loading.start($el.find(".level-name"))

            $repo.save($model.$modelValue).then(onSuccess, onError)

        $el.on "click", ".severity-data", (event) ->
            event.preventDefault()


            target = angular.element(event.currentTarget)

            save(target.data("status-id"))

        $scope.$watch $attrs.ngModel, (issue) ->
            render(issue) if issue
