Fixed bug with ConfigModel being created by _id

- Also added fix to cancel button on component edit screen