Fix Issue #853

save current active element , update the form, then return focus to it, check #834 and #853 for more information