Garrett Gilbert nearly wrote his name into the Cowboys history books.