To reproduce the issues, open this DOJO that just renders a grid in a dialog.
- open the dialog
- focus the "Add" button
- press TAB until the focus is on the first cell
- press ARROW DOWN (this focuses the checkbox in the cell below)
- press TAB
-> the close button of the dialog is focused