fix template home page error (not displayed after return from tpl edit page).
2.fix tpl edit page's modal view display problem in iOS 5.1