Enhancement to waitPopup on APEX5