Add autoclose support, default true / 3 seconds