Bug fix: autosave after sending

Bug fix: autosave after sending
in: static\scripts\ui.js
lines: 386-408