add application listener mode "current or root"