Account from meta key on mac, fixes #17109
avoid null pointer exception when _Widget.destroy(true) call, fixes #17132, thanks Max
Fieldset.title should override <legend>, not Fieldset.legend, fixes #17190
Don't switch focus back to a fading-out Dialog (1.9 branch).

Clicking "paste" in the Dialog from the PasteFromWord plugin switches focus
to the editor.  The code added in 49339a0685729c69df92e91138788a6b50cdf2ef was interpreting this
as an accidental focus change, and switching focus back to the dialog, thus
breaking the paste operation.  It was a race condition during the Dialog fade out.

Refs #15370, #16550, #17195.
fix text selection problem on IE9 in quirks mode, fixes #17216
thanks to neek for the investigation and patch
Refs #17217.  Forward port [432cd4ec732e10a5e88a5606689464b25f9c05df/dijit] to 1.9.
Refs #17154.  Backport fix to 1.9.
Make Dialog ignore focus events on other documents.

This fixes the problem in a Dialog where an InlineEditBox with a dijit/Editor editor
would immediately close because the Dialog thinks the focus had shifted back to the
main document somehow, and restores focus to itself.

A more robust solution would be to trace if the foreign document is in an iframe
that's a descendant of the Dialog, but it didn't seem worth the extra code.

Fixes #17225.

(Backport to 1.9, cherry picked from commit 2341c812b14bb1a246b874836aed3e3f2e337347)