convert add namespace dialog to .ui

Change-Id: I3636da91d39b2759dca72f30cc7b086b6f9cbb16