set period_id on docket new/edit form