close and complete button modified