Correctly close a date widget after adding a date in the test harness.

I say "correctly", I think the behaviour of those widgets is a bit insane when
it comes to unfocussing them, but that's a problem for LaterMan(tm).