add close to windows
refactor the hint button