Here is example of two related datepickers.
First datepicker changes second datepicker min date. After few selections on second datepicker, dialog stays open and strange behaviour is noticed. As I can see there are two dialogs open for second datepicker. I would expect only one dialog. What do you think?