Added AutoClose plugin