a little modal improvement