adding easing to modals