add events and remove iframe in datagrid popup