modal adjusting