Added declaration of consent as dialog