Hi Ratna,Thank you for your reply.From what I understand this code snippet, can be used as-is, but the dialog structure has got to be correct. Somehow, I am not able t get this to work.If you can provide me the dialog structure to be made use of here, would be really helpful.