A very good example, it helped me very much to switch scenes in my propram! Class "popup" is the second window (scene) that pops up.