Add modal title to template and include formatting if left blank.