ionic modal navbar not showing

JavaScript
// change <ion-navbar> to <ion-toolbar>
// before
<ion-navbar primary  *navbar>
  <ion-title>Bug</ion-title>
  <ion-buttons end>
    <button (click)="close()">
      <ion-icon name="close" ></ion-icon>
    </button>
  </ion-buttons>
</ion-navbar >

// after
<ion-toolbar primary >
  <ion-title>Fixed</ion-title>
  <ion-buttons end>
    <button (click)="close()">
      <ion-icon name="close" ></ion-icon>
    </button>
  </ion-buttons>
</ion-toolbar>
Source

Also in JavaScript: