| Sometimes I get mixed up while in Chrome and accidentally gesture to close, but I only meant to close the tab, not the whole browser. So I added an action to the Chrome app setting in Actions, selecting the same gesture/modifer (to override the Global Close action) and added this script, which pops up a message box to make sure that's really what I meant to do (because I usually don't!).
iRes = acMessageBox("Seriously?", "Close?", 324)
if iRes == 6 then
acCloseApplication(nil, gsx, gsy)