fixed bug when editing and creating items where the fields wouldn't reset