             options.user_story = us.id
 
         promise = $modal.open("task-form", {'task': options})
-        promise.then ->
+        promise.then (us) ->
+            $scope.tasks.push(us)
             formatUserStoryTasks()
             calculateStats()
 

        promise.then ->
            formatUserStoryTasks()
            calculateStats()

    $scope.$on "task-form:create", (ctx, model) ->
        $scope.tasks.push(model)
        formatUserStoryTasks()
        calculateStats()

    $scope.$on "stats:reload", ->
        calculateStats()

            $scope.$emit("spinner:stop")
            closeModal()
            $scope.overlay.close()
            $scope.defered.resolve($scope.form)
            $gmFlash.info("The user story has been saved")

        promise.then null, (data) ->
