I got this issue with setting up the preview in modal window. The problem is, the preview makes the whole modal to high, so the buttons for save/preview disappears outside the screen… so each time I want to save/preview I need to scroll the modal.
I made this preview: https://1rut2e.axshare.com/#g=
On the left side you can see the modal during setting widget options (the user needs to click preview). The second version shows modal when user clicks preview button - It makes the whole modal window expanding and the button for Saving sometimes disappear from the screen. Another version of this modal is on the right with the buttons for Save/preview located below to the widget options it will be visible during preview of a widget, and user still will be able to press Save without scrolling a modal.
The question is, which solution will be the best for better flow?
Note that this modal window is used across large system, and adding some extra features like for example floating button, might create issues in other screens.