code: function addButtons() {
  
    if ( options.continue || options.follow || options.submit ) {
  
      var continueButton = template( defaults.buttonTemplate )
      continueButton.classList.add( 'dialog-continue' )
      if ( options.destructive ) { continueButton.classList.add( 'destructive' ) }
      continueButton.innerHTML = options.continue || 'Continue'
  
      dialogEl.querySelector('.dialog-actions').appendChild( continueButton )
  
      options.cancel = options.cancel || 'Cancel'
    }
  
    var cancelButton = template( defaults.buttonTemplate )
  
    cancelButton.classList.add( 'dialog-cancel' )
    cancelButton.innerHTML = options.cancel || ( options.continue ? 'Cancel' : 'OK' )
  
    dialogEl.querySelector('.dialog-actions').appendChild( cancelButton )
  
  }
docs: Add Cancel and Continue buttons (if necessary)