Added handling for when newRecord may be called by something other than a component