add cancel and footer