Escape the single quotation mark in the simple modal title strings

Signed-off-by: xchs <github@gmx.net>
Merge pull request #5648 from xchs/hotfix/string-char-escape