adding html from response and actually launch dialog