Fix for XNAT-2646. Also, less idiotic defaults setup for xModalMessage() and minor tweaks to ezCalendar date picker.