Fix issue 204

I increased the maximum size of a modal dialog, and used max-width and -height to auto-size it. Fixes #204.