Moves link_to_close helper method to UiHelper