New WPS.Dialog input parameter control type - a jQuery datepicker.

Bugfix.  To fully remove a dialog from the DOM, we need to do destroy,
followed by remove.
Bugfix.  Left a reference to local development javascript library in example page.