Create an "add time period" form. Code a bit too messy at the moment.