Dialog: Documenting the focus logic that the widget uses. Fixes #120.
(cherry picked from commit 6b282d01f4cd073dabb13fe7e8a12fa6167d2f8b)