No warning is given. How does the form know that someone already saved one? It doesn't.
The save is done through a web service function call.
A warning at the point of save is not a good solution because someone may have been working on the form for a long time and then they find they can't save because the data has changed. So then they have to reload and start over? They are not going to accept that.