The file chooser dialog and widget is a replacement for the old FileSelection dialog. It provides a better user interface and an improved API.