code: function insertQueueStep(step, index) {
    if (index && index < currentSteps.length) {
      return currentSteps.splice(index, 0, step);
    }
  
    return currentSteps.push(step);
  }
docs: /*
  Global function for inserting a popup to the queue