Describe the bug
Cannot move the window, if there is an modal of tips to save the change. If the modal is not visible, you can only use the escape key to close the modal box, and then drag and move the window, then close the windows and click "Discard & Exit".
To Reproduce
Just open notepads and type some word, then click close.
Expected behavior
The window should can be dragged as another UWP app like "Paint 3D" when it exists a modal.
Screenshots
(a 10M gif screenshots, playback in browser may be slow)

Desktop:
Additional context
This issue may like #678
Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.98. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Notepads uses the ContentDialogcontrol to show popups like "Discard & Exit". The ContentDialog is a modal dialog, whence why you can't drag and move the main window. On the other hand, it's interesting how Paint3D have what it looks like a modeless ContentDialog. There is also a relevant issue on the WinUI repo.
A question: would be enough for your scenario to have a kind of light dismiss behavior so that when you click on the title bar to drag and move the main window, it will automatically close any popup? I think this might be easier to implement in the meantime until a non-modal ContentDialog or similar control is available.
A question: would be enough for your scenario to have a kind of light dismiss behavior so that when you click on the title bar to drag and move the main window, it will automatically close any popup? I think this might be easier to implement in the meantime until a non-modal
ContentDialogor similar control is available.
The dismiss behavior is acceptable, although it is not as intuitive as moving directly. Of course, it would be nicer if it can move directly.
This issue (the same as #701) is not the same as light dismissing. This is definitely something that should be brought up with WinUI. @AHBICJ @Kuuchuu could one of you make an issue there?
Btw, this area is still draggable and you can try:

Most helpful comment
Notepads uses the
ContentDialogcontrol to show popups like "Discard & Exit". The ContentDialog is a modal dialog, whence why you can't drag and move the main window. On the other hand, it's interesting how Paint3D have what it looks like a modelessContentDialog. There is also a relevant issue on the WinUI repo.A question: would be enough for your scenario to have a kind of light dismiss behavior so that when you click on the title bar to drag and move the main window, it will automatically close any popup? I think this might be easier to implement in the meantime until a non-modal
ContentDialogor similar control is available.