def METHOD_NAME(self, *args):
    dialog = FileChooserNative.new(
        _("Export game icon as PNG..."),
        SkyTempleMainController.window(),
        FileChooserAction.SAVE,
        None, None
    )
    add_dialog_png_filter(dialog)
    response = dialog.run()
    fn = dialog.get_filename()
    dialog.destroy()
    if response == ResponseType.ACCEPT:
        fn = add_extension_if_missing(fn, 'png')
        self.icon_banner.icon.to_pil().save(fn)