finalizing dropdown component