changes to fix a datagrid issue of multiple append when more than one dgf in page