Escape the single quotation mark in the simple modal title strings

Simple modal window: escape the single quotation mark in the iframe's title/heading string

Fixes issue #5645