Fix custom categories dialog