Describe your motivation
When using a draggable dialog, users can drag it outside the viewport bounds, making part of the dialog inaccessible. There's no way to constrain the dialog to stay within the visible area.
Describe the solution you'd like
Add a property that allows to restrain the dialog to the viewport, so that all four edges of the dialog remain visible during dragging.
Describe alternatives you've considered
No response
Additional context
No response