Prevent modal screen overflow

fixes #288
Merge pull request #571 from twosigma/sjs/file-modal-overflow

Prevent modal screen overflow