But we cannot do this for the "Show a confirmation modal before running" query option under Advanced; it can only be on or off via a checkbox.
This would be nice because in our apps we have queries where, given the underlying data to be POSTed, we'd like an extra layer of confirmation protection. And then we have some — such as for test resources — for which we don't need to bother the user with an extra layer of friction.
A workaround is to have two versions of the same query, but with the only distinction of having one with confirmation, one without. But that seems cumbersome.