#267 Fix misbehavior when using delite/popup with delite/focus for widgets with no id

Candidate fix for #267.