data Model updation while removing options using close_btn

Onchange was not getting triggered when an option is deleted with the cross icon.
And this causes in-consisitencies in data model updation.