dialog box to display pay amount‘