fix bug in 3a2c7e9

I forgot to add the cancel button to a change in #386