implmented support in apge template for dialog container