FB-14497: Disable scrolling for gallery when modal is opened.