main content dialog scroll fix