added option to modal to provide a string title to be inserted into the modal header