Changes to edit measure dialog

All of the requested functionality is present, though some of the styling doesn't match the mockup. We could get it closer with [selectBoxIt](http://gregfranko.com/jquery.selectBoxIt.js/), but that would require the addition of the jQuery UI Widget Factory as a dependency to the project.