adds cancel button class