Adjusted modal size and position