A non-committed object is committing on cancel

Hi, I have a page which creates a new entity but does not commit it. The cancel button at the bottom of the page should therefore remove (not commit) this object. but what i am finding is that it is removing all of the attribute data and committing a blank object? Is anyone else having this problem or has a solution?
1 answers

As Ben stated in the comments there was an event handler that caused the issue, just entering this information here to mark the question as answered.