Add an application's dialog buttons to the touch bar when a prompt displays?

Do you want to save before quitting?

"Save" "Discard" etc would show up in the tool bar instead of you having to click it.

This is already built into the OS when you're using the default tool bar, but I've disabled it completely to run BTT's. Is there an easy way to do this?

Only solution I can come up with is a lot of UI work in Applescript, and some sort of background check. Or a button to press and trigger the script.