- fix issue where the ModalDialog in HtmlContentDetail would sometimes get inserted into the DOM twice, causing javascript errors (if debugging is on), then leading to an html content record getting added instead of updated. Some sort of issue with the multiple updatepanels along with the modalpopupextender stuff. Fixed by only rendering modal when needed. Fixes #303
- fix approvedbyperson not getting set in HtmlContentDetail in situations where the editing user is allowed to approve.
- made HtmlContentService get the most recent HtmlContent record for a given Block,EntityValue,Version, just in case there are multiple records that match.