verb for dogs moving and dancing around dead corpses.

The following works nicely,

Skulk

  1. Keep out of sight, typically with a sinister or cowardly motive
    1.1 Move stealthily or furtively:

ref: Oxford

The adjective is 'skulking'