title: How to catch which event hides my datepicker?
body: <p>I have 5 step booking page. First page is to select the resource and quantity. It shows up the <strong>Next</strong> button and an <code>datepicker</code> is rendered. I can select the date and it shows up my second button <strong>Next</strong> to proceed. The problem is <em>if i click anywhere on the DOM</em> my <code>datepicker</code> sets to <strong>display: none;</strong> without specifying to do that anywhere in my code. How can i catch which event is causing that? How can i track what exactly sets display: none; to my <code>datepicker</code> ?</p>