Weightpaint gradient tool panel showed in other modes (and as a separate
panel).
Fix for fix, see
So now, check mode again and restrict to topbar (prevents an additional
panel since this is already included in the brush settings).
ref rB0837926740b3 in sculpt-dev branch, so thx @Joseph Eagar (joeedh) as well!