Add Close buttons to dialogs