I have placed helptexttrigger (widget) present both on the form and pop up form which is getting opened. Situation is when i click the help button on popup form then help text button is getting expanded on background form as well as on the pop up form. Could anyone let me know what can be done to avoid this?
Without rewriting the widget I don't think you can get around this as it is a publish and subscribe mechanism.
The trigger publishes the state of the help texts and the help text widgets (containing the help text) subscribe to the state variable.
So once the state is publish all subscribers will receive the new state, causing the texts to be shown in the popup and the underlying screen.