make focus move to dialog

see bug 23365