fix #5424: routes created from templates do not get names based on the user-supplied text from the add route dialog