Core: Deprecate .focus( n ), replace in dialog with explicit timeouts

Fixes #9646