Select and Input elements deletion functionality