Added triggers for show, hide, destroy, and init