Give markers dialog a close button (#2070).