handle more document changes in transactions

drawing unit changes undoable