Adding view test dialog