             success: (data) ->
               #$("#projects-row").append(generateProjectCard(data.name, data.description, '#', '#', '#'))
               $("#swimlane_" + data.status_id).append($("<li class = 'ui-state-default'>").append(generateIssueCard(data.name,data.description,data.category,data.story_points,data.id)))
-              $("#addModal").modal('close');
+              $("#swimlaneModal").modal('close');
               return
             error: (req, msg, stat) ->
               console.log(req)

                return
            connectWith: '.connectedSortable'
            revert: true).disableSelection()
        return
            

        $( '#add' ).validate
            rules:
                name:

              # $("#errorMsg").html(errorsHTML)
              return
          e.preventDefault()
          return
        return
this.app.swimlanes = new SwimlanesController