dialog scrolling fix