Action after duplicate check


I have been playing a bit with the record duplicate check which comes in Sugar 7 and I have been able to add my own validations and to edit the layout of the duplicate check pop up in order to appear the fields which I want.

What I want to know is if there is some way to trigger an action only if Sugar detects that a record could be duplicated and that record is saved; for instance, to put a field to a specific value in order to be able to know that the record could be duplicated.

Thank you,