modal timing-function changed