All the files under /libs stores the AEM default functionality. If you
make any change in any of these files it will affect all website. If you
changes is creating any issue, then It will be the issue for all site on
that instance. As @Scott suggested, to minimize the risk, always
override file.I guess here you can find the Tagging file which you can
override :
/libs/cq/tagging/widgets/source/widgets/admin/TagAdmin.Actions.js (w.r.t
AEM 5.6.1)