UIDialog should only capture focus if focus isn't currently inside
UIDialog should only capture focus if focus isn't currently inside

For instance, an autoFocused input shouldn't lose its focus.

enigma-io/boundless,enigma-io/boundless,enigma-io/boundless