This diff introduces `usePushUserProfileModal` hook which is going to be used to push the user profile modal. This logic will need to be repeated in every place we want the user profiles to be accessible, so I thought that instead of copy+pasting the logic we should preemptively factor out this logic into this helper hook.
Linear task: https://linear.app/comm/issue/ENG-5246/introduce-hook-to-push-user-profile-modal