added close button on the drawnRect