fixes bug when modifying the category of a topic but cancelling the edit
fixes bug when modifying the category of a topic but cancelling the edit

natefinch/discourse,tadp/learnswift,natefinch/discourse,tadp/learnswift,tadp/learnswift