fixed restriction json
added confirmation dialog to restriction deletion