Bug fix for open/8181 which stops the HTML source editor window saving/p...

Added logic to a callback to check if the value has been changed by the HTML source editor and if it has add the changed class and update the form value