reuse the same popup form for add and modify users

This is not finished yet.

Change-Id: Iaa96f131eb25b2eced26fa2b31a132c3759fd0c2