ENYO-3082: Moved switchDocument logic to new DevelopmentController component