remove dom after save