where in bot.cs did you put the code to close info windows?
for myself, i created a new task and the name of task is defined in bot.cs. the new task is a new class and you have to put them like skipanomaly class
if is hard , you can put the lines for closing the windows in combat.cs.
If you still want a new task, the model is in bot.cs ( see skip anomaly)