modal templates till you cry

switched basename to name