The active element of a modal dialog is the first focusable element
Merge pull request #1039 from mattto/dialog

The active element of a modal dialog is the first focusable element