Register modal component via initializer so it can be looked up later by the container.

Fixes #89