The New Girl alum replaces Mark Webber on the ABC series as the best friend of Smulders' P.I. character Dex Parios.