Two ideas:

1. An event which triggers when the ID with focus in a dialog changes.
2. Make the $dialog().focus identifier work for combo boxes (dunno if this is a bug or a suggestion).