dialog example added