fix #367 movable dialog inside page with scrollbars