Add default selection handling in trees