anchor.diff:      function restart(name, stateName) {
           if (stateName != "<%= DONE_STATE %>" && stateName
                       != "<%= STOPPED_STATE %>") {
  -            $("#stopRestartModal").attr("data-name", name);
  -            $("#stopRestartModal").attr("data-type", "Restart");
  -            $("#stopRestartModal").modal();
  +            $("#restartModal").attr("data-name", name);
  +            $("#restartModal").modal();
           } else {
               doRestart(name);
           }
  
positive.code:     function show(state) {
          var items = [];
          $.each(state, function(id, content) {
              var allStatesLink = '<a href="#" class="btn" onclick="$.bbq.pushState(\'#mode=details&file=' + content
                      .entity.name + '\', 0); return false"><i class="icon-list"></i> Show all states</a>';
              var stopLink = '<a href="#" class="btn" onclick="stop(\'' + content.entity.name + "\',\'" + content.stateName
                      + '\'); return false"><i class="icon-stop"></i> Stop</a>';
              var restartLink = '<a href="#" class="btn" onclick="restart(\'' + content.entity.name + "\',\'" + content.stateName
                      + '\'); return false"><i class="icon-play"></i> Restart</a>';
  
              var item = "<tr>";
  
negative.code: </div>
  <!-- /container -->
  
  <div class="modal hide" id="stopModal">
      <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">×</button>
          <h3>Warning: This file may still be processed in the ingest workflow</h3>
      </div>
      <div class="modal-body">
          <p>
              The file is not in an end state of the workflow.
              This indicates that the file is still being processed or that the workflow has stopped unexpectedly
              with an error. If the file is still processed, your request to stop the file may be ignored.
          </p>
  
          <p>
              Press OK if you believe that the workflow has stopped unexpectedly and don't want the ingest workflow to
              try to ingest the file again.
          </p>
      </div>
      <div class="modal-footer">
          <a href="#" class="btn" data-dismiss="modal">Cancel</a>
          <a id="confirmStop" href="#" class="btn btn-primary">OK</a>
      </div>
  </div>
  
  <div class="modal hide" id="restartModal">
      <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">×</button>
          <h3>Warning: This file may still be processed in the ingest workflow</h3>
      </div>
      <div class="modal-body">
          <p>
              The file is not in an end state of the workflow.
              This indicates that the file is still being processed or that the workflow has stopped unexpectedly
              with an error. If the file is still processed, your request to restart the file may be ignored.
          </p>
  
          <p>
              Press OK if you believe that the workflow has stopped unexpectedly and want the ingest workflow to
              try to ingest the file again.
          </p>
      </div>
      <div class="modal-footer">
          <a href="#" class="btn" data-dismiss="modal">Cancel</a>
          <a id="confirmRestart" href="#" class="btn btn-primary">OK</a>
      </div>
  </div>
  <!-- Le javascript
  ================================================== -->
  <!-- Placed at the end of the document so the pages load faster -->
  