added ability to pass the scope value into the ngDialog directive