The custom "modal" function
It is OK if you do not include the title - if you do not specify one, the default title is "Notice". Try seeing what happens if you do not include the modal content!
If you want to put quotes, you may want to sanitize your data input. Example:
modal("And then Bob said, \"Hey there!\"");