Fix for new validations in modals controller (p/67071742)

Mulitple paths like owners.0 in lookup fields no longer cause issues in modals controller when transiently storing the text box value for validation.