allow preferences window to gain foreground focus