added open & close events
v. 1.1.2 - Added open & close events & parameters in the creation method