ask for confirmation c = confirm("Are you sure?") if c: ... ask for confirmation with own buttons and outcome if alert( content=""" Write all you stuff here """, title="The title", large=True, buttons=[ ("Option 1", "Option1"), ("Option 2", "Option2") ] ) == "Option1": do_something() ``