Don't modify the sequence after edit

When editing an item, it is moved to the bottom of the stack. I don't think that's right. This should only be done for added items.