the $dialog().focus property returns which tab is selected.
it's not meant for other controls.