Ionic 2: “black screen” after modal close


I have a Modal page:

import {Page, ViewController, NavParams} from 'ionic-framework/ionic';
  templateUrl: 'build/pages/tosmodal/tosmodal.html'
export class TOSModal {

    static get parameters() {
        return [[NavParams], [ViewController]];

    constructor(navParams, viewCtrl) { =;
        this.viewCtrl = viewCtrl;

    close() {

when the close() is called, the modal is dismissed but the previous page doesn’t appear. To the element, a display:none is added:

ion-page {
    display: none;

Am I missing something? Maybe in the onDismiss method?


Can you post the code that’s showing the modal too?