refactor submit and reopen to be controlled by the model instead of the controller
validate permitted values for day_type and status