Fix modal with maximes changes.