The Cancel button now works