Material editor now sets document changed flags