only disable scrolling when dialog actually opens