1. In the hide function remove this.setValue(), 2. Show picker after … 

...itioning it for proper rendering with modals/multiple datepickers on a page.
1. The `hide` method can be called programmatically, not just triggered by click/keyboard.
2. Removing only this line puts the event trigger under the above if clause, which is incorrect.