[header] How to close a dialog box [title] Realize that dialog boxes are displayed when there could be a liability issue that could ensue. [step] The program creator wants to make sure that the user realizes the effects of what performing the action might take, and that you know the process to undo the change (if any are accidentally completed). [title] Respond to the dialog box. 
[step] Click the ok or cancel/close buttons from the dialog box. Traditionally, closing them could take a click of one of the boxes.