cleanups
save state in Action
add buffer Insert and Delete