Support autoClose option
#25
+134
−196
Open
autoClose option
#25