Open main form in a modal dialog from lookup by changing field properties

Microsoft added new field properties for lookup fields with 2020 release wave 2: 

If you select one of these options, it will open the related record or the create form within a modal dialog by default - without any need of writing code (navigateTo):

#Dynamics365CE #OpenRecordInModalDialog #ModalDialog #EntityForm