converted line endings from DOS to UNIX
aliased saveOfferings as updateOfferings and addOfferings, first step in splitting this up into distinct actions.
changed form submission-target and request method.
separated markup template from embedded js code.
copied the "edit offering dialog" template to begin reimplementation.
fixed indentation and the header docblock.
moved container div for date picker out of the edit offering dialog template.
moved templating code into helper function.