Fix switch modification/creation form