Implement custom dropdown control.