The rules for uncanny dodge are poorly worded, we misunderstood it for several years.
The flat footed condition only applies to characters that has not yet acted in combat.
https://www.d20pfsrd.com/gamemasteri...OC-Flat-Footed
Uncanny dodge helps in that case. And it helps vs invisible.
Most or all other abilities has the wording : "denied its Dexterity bonus to AC"
Uncanny dodge does not help vs those abilities, like climbing, swashbucklers superior feint, and others.
I am not sure what is the best way of doing modifier buttons and uncanny dodge, either way is fine I think.