Auto-update client and close dialogs after forms