I'm working on a mod that requires a popup whenever a civ settles/captures a city for their UA. This is the first time I've worked with UI elements, and I've figured out how to create the text box and buttons, but I can't figure out how to make it into a popup. Basically, I can only make it show up as soon as you start a game, and I'm not sure how to only call it when that civ founds a city. Can anyone help me out? Thanks!