Window popup after main ends