Consistant defining of new methods on Function.prototype
Prevent redefine errors if script is included multiple times
Added id attribute to dialog content; destroy on close should be handled in close event handler
Merged from release/1.4 and fixed conflicts
Merge branch 'release/1.4' into develop
Merge branch 'release/1.4' into develop
+ [OE-3299] fix default empty parameters for getLetterIntroduction method
+ fix patient episode link for patients only with legacy events
+ spacing for patient episode link
+ [OE-3315] add allergies back to select list when removing them in patient summary
[OE-3311] Due to differences between terminal server chrome version and development chrome version, the event details columns are now using a different box-model, ignoring paddings and border, to allow us to have truly 50% columns, with a border in-between, without specifying pixel unit widths.
[OE-3311] Border color is not actually white
Merge branch 'develop' into feature/automation

Conflicts:
	js/dialogs.js
Merge branch 'release/1.4' into feature/automation
Visual Acuity - Examination