added cancel button to add page