convert edit modules dialog to .ui

Change-Id: Ic9d06ff7ae5c1f5f9b50732943c38b8666680b9d