Added function name to on demand restricting dialog