add a method which can close itself by setTimeout() method in table.html.