def confirm(message, line1='', line2='', title=lang(50001)): if not message: return return xbmcgui.Dialog().yesno(title, message, line1, line2)