Clears focus with a given FocusManager and then hides the dialog
the focus manager of the dialog view