LPS-37418 - Renders dialogs inside device preview

This PR renders dialogs created through `util_window` inside the device preview whenever it's active.