improvement: in standalone mode, don't show unnecessary options in popup menu