I used this addon years ago but dont remember its name at all.
It was a 2step confirmation for trade window. First you was locking the selection which was enabling the confirm by default ui. Any attempt to change anything was instantly locking the confirm button.
I dont hope highly but still, I hope.