Not an answer to your question, but a work around to avoid it if you don't/can't get a direct, useful answer.
On my layouts that have a similar feature, I'll sometimes put a small button to the right of the "project" field that simply says, "Go Here" or, "Details". This is in place of applying button behavior to the field itself thus making finds function normally.
Hope this helps in some way.
In your script, you could do this:
If [ Get (windowMode) = 1 /* layout is in Find mode */]
Go To field [//specify your field here]
#Do your current script steps here
Ahhh, yes. "WindowMode"...I keep forgetting that one 'cause I've never had to use it. Nice one.