Fixed right menu and addedd click handler for popup

something broke… the .selected on the right menu