Expand Column when another is dynamically hidden

I have modal that has a row which has two columns. I hide one of the columns based on some dynamic criteria. That works to not show the column, but I would like either the modal to reduce in size, or the other column to expand so I don’t have a big white space. Any ideas?

Community Page
Last updated: