When I duplicate a record, about 90% of the time it gets added to the gridfield, but the detailform doesn't get opened automatically.