added Deps.flush() before showing shared link to prevent stale link from being shown