Act on category unchecked if restrict dangerous enabled, highlight category and method name

Closes #1246
1.99.31 test