Force focus of either a button or an input if available when any screen is shown.

If a button or input box is not available on a screen, no change from the current behavior.

fixes #2981