Prevent modal clicks from scrolling the page