Login Register

Disable "parent" page scroll while dijit.Dialog scrolls

After showing a dijit.Dialog, is there a way to disable the scrolling of the "parent" page underneath it? I put parent in quotes since they are both on the same page but appear as parent/child.

My Dialog scrolls and when it gets to the bottom of the dialog, the parent page then starts to scroll. The behavior I want is to have the Dialog scroll when its shown and disable the parent scroll. Once the dialog is dismissed, then the parent can scroll again. Any ideas?