Revert "implmented support in apge template for dialog container"

This reverts commit 47d1ec55d7b4b6cdaa75a73c63f2d05d87cdb5f0.