remove the test elements from the dialog