am f5cf6337: add polling check for focus / dialog

* commit 'f5cf633794eeb16507c40e2a4a03ade4a105eb65':
  add polling check for focus / dialog