add close box for msw
support polauto polar files