When a record is modified by your application, while i twas already modified by another user, WebDev cannot open a dialog box to ask the user to confirm the update.
So, you need to manage record locking errors from your
application.
See WebDev Special Record Locking.
Option DRVOPTIMISTIC connection extended info can also be used.