JS[static-menu] fixed modal bug