A failed attempt to design a runnable task to shift the focus on a dialog once the dialog is make visible