working EditServerDialog

Signed-off-by: Peter <mcheung63@hotmail.com>