Why does a prompt/dialogue box appear?

Some click-to-insert commands in the command window are used for writing functions (such as collisionFunctions or actionButtonFunctions). However, these functions need to be stored as strings, because that way they can be saved in the JSON format. A string is a piece of text between two 'apostrophes' or two "quote marks". But what if the text inside your string needs to have an apostrophe or quote mark? This is often the case when your string is a line of code. Normal practice is to use backslashes to do something called escaping the string, like here:

'This\'ll be my escaped string and I\'ll love it!'

This is tedious, difficult, and not very accessible for people who do not have coding experience. As a workaround, AsciiMason has you type the function into a prompt (or dialogue box), and that way it can automatically escape the string for you.