Added examples for fnShowDialog()

Added examples for fnShowDialog()