Fixed problem with commit when form component isn't ready