add new sample with html dom