Showing dialog box 2 times in child table

When I applied dialog api to show dialog box in Purchase Order, for the first time when I am selecting the item it is showing 2 times

This issue was triggered 3 months ago. Is anyone aware of this?

Please Help!