slight timing adjustment to modal transition