F: rename opened window, it should be different from current window, or it will be opened in current window
D: note delete window variable after it closed, or it will cause ie collapse