Fix size:auto in modals