Added agent clicking behavior.