Describe the bug
A notepads window cannot be closed when it's minimised. Instead of closing, it will do nothing. The window will close immediately when the window is restored.
To Reproduce
Expected behavior
Since we did not enter anything, there should be no prompt like "_Do you want to close and lose unsaved changes?_" and the window should close immediately
Desktop (please complete the following information):
Screenshots

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.
Most helpful comment
Issue-Label Bot is automatically applying the label
bugto 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.