Prevent update of active datepicker if a background datepicker was updated

Example of current issue: http://jsfiddle.net/Pxu5m/
A datepicker is focused and a second later the second (closed) datepicker is updated, which will make the current datepicker widget to be updated as well.