when editing a space the dialog now presents the correct fields, with accordance with the space's type