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

...itioning it for proper rendering with modals/multiple datepickers on a page.
Moving this line of code was already done in #1212, this fixed 2 visual issues with displaying the datepicker. I've tested the fix and it didn't break anything as far as i know!