Modernized Apple sample code that demonstrates how to customize the NSSavePanel class.