For how the menu is interacting inside the profile please see ActionMenuProposal
See the Profile page at UserProfileProposal