Do not include selection manipulation in undo stack