Add openDialog sample.