Fix #12845 - Modal#hide should only be called with an event argument

P.S: Someone should run `build-customizer-html`, 7e551eca didn't regenerate that file.