Use w3-container classes to create different sections in the modal (e.g. header & footer).
Resize the window to see the effect.