Changed example 2 to use a Backbone.View for each tab
Trigger 'show' events and call onShow() method for all tabs when modal opens. Call close() and remove() for all tabs when modal closes.