fixed the double scrollbar bug when a modal is shown

There is currently a small error in the event names that prevents the bug from being fixed.