Fixed add period and clone period errors.

I fixed the add period and clone period errors that were introduced by
the improvement to the table view editors that allow for click-off and
tab-off saving of entered data. The set focus and edit functions were
pushed off until later in these two functions.