[mc] remove page config dom when get template