shared popup menu logic
shared popup menu fixed