# Page overlaps tabs when navigated from a modal - Rc0

**URL:** <https://forum.ionicframework.com/t/page-overlaps-tabs-when-navigated-from-a-modal-rc0/66250>\
**Category:** ionic-v3\
**Created:** [October 8, 2016, 8:01am UTC](https://forum.ionicframework.com/t/page-overlaps-tabs-when-navigated-from-a-modal-rc0/66250 "2016-10-08T08:01:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raymondativie](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/raymondativie/32/90670_2.png) [@raymondativie](https://forum.ionicframework.com/u/raymondativie)\
**Post date:** [October 8, 2016, 8:01am UTC](https://forum.ionicframework.com/t/page-overlaps-tabs-when-navigated-from-a-modal-rc0/66250/1 "2016-10-08T08:01:35Z")

</div>

My problem: I have a tabs page, and on the ‘Home’ tab you cant click the search button which brings up a modal. If i navigate to a page from clicking a button in that modal, it navigates correctly but the new page covers the tabs.  
See images  
**Home page**

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/e/0/e0f57a9bf5786680fd810fcee154cd6e9873e52e.png)

  
After clicking on the search icon above, it presents a transparent modal like so: ![image](upload://5tc2scg8OKXJgs3n3fweLAS3btY.png)

When i click “Go to location” it goes to the appropriate location but covers the Tabs:

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/8/9/89f8413f9028bf9404451829af067b79d4eaf75e.png)

The expected behaivior is that it navigates to the new page but inside the home tab.like so:

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/6/8/68a154f09c51bda1cea2af687f2b1570db5272a4.png)

This happens normally if i click the first Orange button in the home page.

So i deduce that the problem is from navigating from the modal to the page.  
I tried dismissing the modal before navigating to the page

_search-modal.ts_  
`gotoLocation(){ this.dismiss() .then(()=>{ this.navCtrl.push(LocationPage); }); }`  
that didn’t work, so itried navigating to the page before dismissing the modal  
_search-modal.ts_  
`gotoLocation(){ this.navCtrl.push(LocationPage) .then(()=>{ this.dismiss(); }); }`

Any ideas on how i can achieve this? i hope this question is clear and not vague.
