Reset fields after document create