Reset the counter of window agents, when the user closes them all.