Issue #2199 - Set focus to popup close button when popup is opened.
Adds a check to make sure the closeButton option is set before focusing
Merge pull request #2207 from Zombienaute/master

Issue #2199 - Set focus to popup close button when popup is opened.