add doc about window show hide