added show/edit event header functionality