code: function(e) {
        var t = this;
  
        // Scrape the form
        var params = {
          title: t.$('.nm-tsv-title').val(),
          description: t.$('.nm-tsv-description').val(),
          autoNextSec: t.$('.nm-tsv-auto-next-sec').val()
        };
  
        if (!parseInt(params.autoNextSec)) {
          // Assure blank, NaN, undefined, 0, etc translates to 0 (no auto-next)
          params.autoNextSec = 0;
        }
        t.tour.set(params);
        t.tour.isDirty = true;
        t.setDirty(true);
        t.loadForm();
  
        // Change the title/description in the tree view
        var tvNode = t.tv.model.getByPath(t.tour.get('id'));
        tvNode.set({
          label: params.title ? params.title : ' ',
          description: params.description
        });
  
        // If the tour is deleted, go to the first one
        if (!params.title) {
          t.firstTour();
        }
      }
docs: Called when a form input element changes