change the title change to accept when clicking outside the box