Revert "make focus move to dialog"

This reverts commit 210ea0850ab98bc566f575f4a7913074ea88b6b2.