Dialog: Documenting the focus logic that the widget uses. Fixes #120.