I want to use UIkit.modal.confirm to confirm users' input in UIkit.modal.prompt, if they confirm then proceed, otherwise then back to UIkit.modal.confirm.
UIkit.modal.prompt('Input','').then(function(input){
  UIkit.modal.confirm(input).then(function(){
    .... //proceed
  },function(){
    ..... // How do I got back to the previous prompt?
  })
})
 
     
    