Update selection after deletion

When an area is deleted, if possible keep something selected:
- if there is an area after, select this one,
- otherwise if there an area before select it.

It allows to perform deletion sequence (delete several area one after another).