Change popup_info to create content in a CodeInput object and added documentation