Execute after opening the window frame
BEFORE opening the document
Use this to administrate the TABs (add, change...) on top from a window