Opening one modal from another using the meteor way


How exactly do I open one modal from another modal in meteor? I’m using bootstrap-3-modal package

When I try clicking on the confirm button of one modal, it must close that modal and open a new modal. Somehow,it doesn’t seem to work. Here’s what I have:{
    'click #confirmMorePGInstance'(event){ // this is the confirm button on addMoreTemplateConfirmationModal modal 'createTemplateModal'); // this does not work.
        // Modal.hide('addMoreTemplateConfirmationModal');



Have you tried it with modal events?

  var template = this;
  template.$('#myModal1').on('', function(e){
  'click button.myModal1': function(e,template) {