adjusted modal size, position and modal close button