Added multiple popup support in pantheraUI.js