Retrieves the text used by the dialog on its accept button.
a file dialog
the label shown on the file chooser's accept button