fix dialog shadow
if dialog doesn't fit it scrolls