MDL-38146 fixing navigation when adding/editing course category