anchor.diff:      $("[data-action='cancel-edit']")
       .on("ajax:success", function(e, data) {
         var $form = $(this).closest("form");
  -
         $form.after(data.html);
         var $new_step = $(this).next();
         $(this).remove();
  
positive.code:       event.preventDefault();
        event.stopPropagation();
        event.stopImmediatePropagation();
  
        var $form = $(this).closest("form");
        $form.parent().remove().promise().done(function() {
          newStepHandler();
  
negative.code: 
    function toggleButtons(show) {
      if (show) {
        $("[data-action='new-step']:first").show();
        $("[data-action='edit-step']").show();
        if ($('#steps .step').length > 0) $("[data-action='new-step']:last").show();
      } else {
        $("[data-action='new-step']").hide();
        $("[data-action='edit-step']").hide();
  