Does this meet the requirements https://jsfiddle.net/hrmpz4vw/ ?
1) I have used the
overflow-x: hidden for the modal element with class
2) Added the additional render, because without it table loaded scrollbar incorrectly
height for the table to show all the columns. Without that you'd not get the last column (