set theButton to button returned of (display dialog "The selected email matches a completed To Do, would you like to clear the flag of this message?" with title "Clear To Do Flag" buttons {"Mark complete", "Create new To Do", "Cancel"} default button 1)