template urls in modal factories had leading slashes

Signed-off-by: William Rockwood <wrockwood@tadl.org>