- #1757684 by TwoD: Fixed JS error when given a removed form as context.