This action is called at the end of the "window entry" template.
Window entry
It is mostly used to reset a context on quitting the entry of this window. example: restoring of nolign)