Added a cancel button to all dialog boxes.