Adding dropdown snippet