You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- 1A dialog isn't worse than throwing away the user's work, but it would be worse than saving what the user is working on as a draft so they can come back to it later. Saving something as a draft can require a LOT more labor (and regression testing; especially regression testing) than a dialog, depending on how "save as draft" is implemented.Greg Burghardt– Greg Burghardt2025-07-07 14:17:57 +00:00Commented Jul 7 at 14:17
- 1And there can be security implications for saving something as a draft (again, depending on implementation). You don't want sensitive information saved to a client machine unless it is properly guarded.Greg Burghardt– Greg Burghardt2025-07-07 14:19:12 +00:00Commented Jul 7 at 14:19
- 1Users/stakeholders have already explicitly told OP to implement the confirmation dialog. Instead of implementing a random UX receipe, we have to get approvals and reconcile the changed design.Basilevs– Basilevs2025-07-07 15:01:33 +00:00Commented Jul 7 at 15:01
- 1I don't believe the app should overinterpret what the user wants it to do. If they tell it to close the form, that's what the app should do. It shouldn't try to read their minds, "Oh, they probably also wanted to save the changes, let's do it silently just in case". It's medical data. There should be nothing implicit about submitting such sensitive information. It is your job as a medical institution employee to take personal responsibility and explicitly submit the data, not our app's job. The app's just a toolSergey Zolotarev– Sergey Zolotarev2025-07-08 14:25:24 +00:00Commented Jul 8 at 14:25
- 1@SergeyZolotarev the suggestion here is to save a draft, not to submit.Basilevs– Basilevs2025-07-08 22:44:22 +00:00Commented Jul 8 at 22:44
| Show 6 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
lang-java