add validation example to flyouts demo (for #968)