def save_file_dialog(wildcard):
    """
        Show a save file dialog.
        TODO: This is not fully implemented.
    """
    app = wx.App(None)
    # style = wx.FD_OPEN | wx.FD_FILE_MUST_EXIST
    dialog = wx.FileDialog(None, 'Save file as ...', defaultDir=os.getcwd(), defaultFile="",
                           wildcard=wildcard, style=wx.SAVE)
    if dialog.ShowModal() == wx.ID_OK:
        path = dialog.GetPath()
        print("You chose the following filename: %s" % path)
    else:
        path = None
    dialog.Destroy()
    return path
Show a save file dialog.
        TODO: This is not fully implemented.