ENYO-3082: make _hideWaitPopup usable in async
ENYO-3082: moved switchToNewTab from Ares to EnyEditor