Add size attribute to Modal

Fixes #2643