[webui] make sure we wait for the users to be saved