Windows needs to use the static file dialog function to show the native GUI, but OSX needs to use the full functions to display a sheet in a native-like way; Linux seems to behave the same on both cases.