fixed little modal bugs