MDL-41238 atto - close menu style when clicking anywhere outside it
MDL-41238 atto - fixing autoclose of style menu for firefox