selection after add/edit