When you click on a function, it gets inserted into the popup