demo equality test for markDirtyCheckbox.state

Assignment changed to equality test when testing mark dirty checkbox state.