install autoclose plugin