TC: Fixed edit controls showing up for non-exist tpls