added modal editor for a new object