added cancel button to add class