Copy from navigationControl for a template.