a bit of a hack to fix escaped html values in the modal textboxes