fix canceling on theme edit