Prevent collaborative undo

fixes #178 on client