collect: reenable tree expansion while typing in the entry