add close button to modal (bug 1062576)