Test whether or not the selection points to a valid file that is not a directory. Confirmation is required if an already existing file is selected.
tkinter.filedialog/SaveFileDialog.ok_command
SaveFileDialog.ok_command