Piotr Caban : user32: Only store dialog focus when window is hidden or inactive.