make modals scroll properly for long queries