Prevent modal screen overflow

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

Prevent modal screen overflow