I was wondering if it is possible to disable a scrollbar instead of hiding it on a page? I want it to stay on the page when I open a modal dialog, I just don't want the users to be able to scroll the main page. So the perfect functionality would be:
short page - no scrollbar at all;
long page - scrollbar appears;
long page modal dialog open - scrollbar still there, but cannot be used.