removes left over nested views when formRouter redirects to a new view