Added title config option for the modal component.

I added the ability to pass in the title for the modal component into
the instantiation configuration.