Opening dialog containing datepicker with dialog("open") behaves different from autoOpening

Opening dialog containing datepicker with dialog("open") behaves different from autoOpening

Examine this code:

It opens and the autoFocus is removed via .blur().

Compare to this code:

The autoFocus isn't removed and the focus remains on the datepicker which is now opened.