Don't prompt from ui
getRestrictionList is only called from the ui, so no secret
Set dangerous color on demand dialog
Merge pull request #1241 from jpeg729/bugfix

Bugfix