add undo for creating stuff