Building view modes for Agents and fixing the phone number field masks