added id as an explicit field in embedded documents
fixed a bug where if you clicked cancel it still added the project