switched 'autoclose' plugin