editor improvement to handle add/select/delete