Set focus to an enabled button
Focus a button inside the footer or the dialog as a last resource
Merge pull request #7677 from adobe/tom/issue-7598

Fix 7598: showModalDialogUsingTemplate doesn't blur current editor