Prevent saving if there is no change to code