#5232 [BUG] UI: Resizing window can lead to modal closing, losing user inputs
Issue created by
whateverforever
### Describe the bug
If you resize the window with a "Launch Task" modal open, it will close the modal when the layout switches. E.g. making the window snap to the left half of the screen, or a quarter of the screen. This leads to the user inputs disappearing.
### Expected behavior
The webpage reflows together with the modal, not deleting my input
### Additional context to reproduce
1. Go to tasks
2. "Launch Task"
3. Enter some details in the modal
4. Resize the window until the layout changes (responsive)
5. Notice that the user inputs are gone
### Screenshots
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flyte