[Client] Fixed an error on OSX when opening select dialogs.