All Triggers can be chosen to trigger in Browse and Search Mode or one of them. You choose that in the setup for the trigger.
It looks not "event does not run", "does not do what you expected" since you "detect if the desired panel was chosen". Your script may be wrong then doing what you don't want.
Or, your script "send a user into find mode", so if window mode is already find mode, it does nothing.