Hi Everyone In my datacapture,i need to display a dialog box with three buttons say,"Insert","Update","Cancel" while saving the DCT.I can create a three buttons using "showModaldialog" but the problem is,i cant return the value to datacapture while clicking the button,say while clicking the "Insert" button in the dialog box it should return "insert" to datacapture for some validation.