implement reopen_after_add