That still works (and I tested it--try it in the Project Settings dialog, for example) because the `click` handler on line 197 in `showModalDialogUsingTemplate()` will call `dismissDlg()` with the id of the clicked-on button if `autoDismiss` is true. Essentially, we're making this case go through the same code path as the next case (which handles the spacebar), of actually triggering a click event on the button instead of just shortcircuiting it and directly doing the dialog dismissal.

That said, perhaps it would make sense for the other cases (the don't save/cancel handlers) to do the same thing, for consistency.