# Open Ionic Datepicker popup in a modal

**URL:** <https://forum.ionicframework.com/t/open-ionic-datepicker-popup-in-a-modal/52134>\
**Category:** ionic-v1\
**Created:** [May 16, 2016, 6:18am UTC](https://forum.ionicframework.com/t/open-ionic-datepicker-popup-in-a-modal/52134 "2016-05-16T06:18:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amirbt](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@amirbt](https://forum.ionicframework.com/u/amirbt)\
**Post date:** [May 16, 2016, 6:18am UTC](https://forum.ionicframework.com/t/open-ionic-datepicker-popup-in-a-modal/52134/1 "2016-05-16T06:18:25Z")

</div>

Hi every one.  
i have a modal that there is ionic datepicker on it and its type is popup (not modal). but when i open popup in modal the backdrop of modal does not work and if the user click on modal except the popup area .his click would execute and go to the page of before modal but at this page clicks dosent take effect so can anyone help?  
Thanks in advance for your help
