submitAll() returns true or false based on success. You can take advantage of this.
Qt Code:
if (submitAll()) // requery and check what has been added (you can do that before adding too) else // some error occuredTo copy to clipboard, switch view to plain text mode
Note though that this will block till all the data is added.
Bookmarks