add agent adding dialog