Correctly clear fields when cancelling course create.