Fixed the issue with modifying a file outside of OpenCOR resulting in being asked for it to be reloaded (closes #394).