Show modal errors

Fixes #799