IonTabs without IonRouterOutlet - open IonModal

I am trying to use this example to later implement Tabs in my project but the output is

Error: IonTabs must contain an IonRouterOutlet

Is it possible to avoid routes and use the onclick method? Because what I want to do is open a ionModal

    <IonTabBar slot="bottom">
      <IonTabButton tab="schedule">
        <IonIcon icon={calendar} />

      <IonTabButton tab="speakers">
        <IonIcon icon={personCircle} />

      <IonTabButton tab="map">
        <IonIcon icon={map} />

      <IonTabButton tab="about">
        <IonIcon icon={informationCircle} />