new contact via modal profile form: save matching contact doesn't work
Overview
When using the New Contact profile in a modal context and entering the name of an existing record, the interface displays the duplicate contact warning and exposes the Save Matching Contact button. Click that button does nothing. It simply retriggers and reloads the duplicate popup message.
Reproduction steps
- Click on Contacts > New Activity
- Click With Contact and select one of the new contact options
- Enter values that match an existing record. e.g. click New Organization and enter the name of an existing organization in your system.
- Click save.
- The warning message appears and the option to Save Matching Contact is displayed. Click that button.
Current behaviour
The warning message is reloaded but no action is taken (the duplicate contact is not created).
Expected behaviour
The duplicate contact should be created and the modal closed.
Comments
I highly suspect this is related to the change to begin using button elements instead of input elements for form buttons. But I've compared the code between 5.29.1 (when I know for certain it was last working) and 5.32.2 and don't see how that shift would have impacted the behavior in this way.