now date picker is working on all the pages, and sms to parent page is created successfully.