Osmosis is a process where solvent of a solution can move past a semipermeable membrane. In this case, the solvent would be water and solute would be glucose. The dialysis bag will act as the semipermeable membrane.
6. If you put sugar in the dialysis bag, then the osmotic pressure of solution in dialysis bag will be higher than the distilled water. This will attract the solvent(water) from the beaker, makes more water comes into the dialysis bag than leaving it. This will cause the bag to grow bigger as time pass.
7. To reverse the process, you need to make the distilled water osmotic pressure higher than the dialysis bag. This can be done by adding sugar to the beaker until its concentration is higher than dialysis bag. If the beaker has more sugar, the water from dialysis bag will be pulled so the bag will become smaller.