Set the document to modified if any layer properties change
We don't want to have layer visibility changes end up in the undo stack, but do want the document to be marked as modified.
BUG:389876