Save/restore old selection of buffers when losing focus