change how the cancel button works