Those events listed from `_modalEventTypes` will invoke `captureHandler`. But now, `captureHandler` handles only `MouseEvent`.  This means the 'KeyboardEvent` will not be handled. Because of this, for instance, from Git commit dialog, the tab key cannot move focus to next element.