How to take input from user on second popup
<p>I am new to angular/Ionic. I need your help. </p>

<p>I have a date time picker through which user can select date and time. On clicking the <code>textbox</code> (from the page) i get <code>datetime</code> picker popup through which date &amp; time can be selected. It was working fine till I was using it in separate page (page that is having the textbox on clicking which popup of date &amp; time picker appears).</p>

<p>All was working fine till I have put this page (having textbox) as popup. This means now I have two popup.</p>

<p>1st for page and </p>

<p>2nd for date &amp; time Picker.</p>

<p>Now on clicking the page popup I am able to get 2nd popup, but when I try to select date or time (from popup 2) nothing happens to popup 2 but all these events are triggering on popup 1. </p>

<p>what changes should i make so that these events can be trigger to correct popup (popup 2) ?</p>

<p>thanks for the help in advance</p>