Fix layout for modal popup