Added custom 'opened' and 'closed' events