ENYO-2053: Move waitPopup from ProjectView to Ares to make it usable by plugins

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>