Fixed bugs for updating person/dependant

Fixed bugs with view path being wrong. Added code to handle adding a new
dependant to the mode.