Select API's button click to other form field if it is behind the Select popup

Hello Everyone,
Click on popup button (i.e. ok button ) triggers form field like toggle after click over select drop down button.

So, how can i handle this?

Thanks