Which of the following sentences is punctuated correctly?

A. When I went into the store I saw the display right before it tumbled over.
B. When I went into the store, I saw the display, right before it tumbled over.
C. When I went into the store, I saw the display right before it tumbled over.