on a template "clone" dialog, whenever i click "preview" (do a POST to "/templates/provisioning_templates/{nullid}-{template_name}/preview",

it results in an error with an empty popup.there is an obvious 404 as the post request tries to put the template id to the uri, which doesn't exist yet ("POST "/templates/provisioning_templates/-foo%20clone/preview"")