adding click events to calendar entries