Added ability to save form values on blocks, with function to determine if values have changed