added a demo template for popup;