Make a place for edit time period to save to, wire up the cancel button.