Add an invisible button to allow closing the prefs window with Cmd+w