repositioned close link and made close action attached to body