editable grid view - onChange does not fire when edited in Modal

i have a field {productID} linked to grid_products, to Capture productID.
i have an Ajax Event for productID onChange
this Ajax Event works when the row is edited in the editable grid view form.
however, if this row is edited in a Modal, the Ajax Event fails to work.