Dismiss current modal and open a new modal with one button

I am using Ionic 2 and have a one modals that I would like to have a link on to another modals. when i click button the current modals need to dismiss and open a new modals

firstModals.ts

swipeLeft() {
    let modal = Modal.create(swipeLeftSide);
    return (this.viewCtrl.dismiss() || this.nav.present(modal)) ;
 }

Hi, maybe you can take advantage of the promises, something like that:

 swipeLeft() {
            let modal = Modal.create(swipeLeftSide);
            this.viewCtrl.dismiss().then(
                () => modal.present(modal) 
            );
        }