MDL-41238 atto - close menu style when clicking anywhere outside it