Plugins now handling their own close events