Trying to fix mac scrolling issue after dialog close