demo implementations of pixel edit undo and notebox edit