( function( window, Backbone, $, _, Scrivener, undefined ) {

	"use strict";
	var document = window.document;

	Scrivener.Views.Sidebar = Backbone.View.extend( {

		className : 'scrivener-customizer-sidebar',

		events : {
			'click .button.close' : 'onCloseCustomizerClick'
		},

		initialize : function( attributes ) {
			this.render( attributes.ajaxData );
		},

		render : function( ajaxData ) {
			this.$el.html( '<div class="content">' + ajaxData.sidebarHTML + '</div>' );
		},

		onCloseCustomizerClick : function( event ) {
			this.model.closeCustomizer();
		},

		close : function() {
			this.remove();
		}

	} );

} )( window, Backbone, jQuery, _, Scrivener );
@@ -267,16 +267,129 @@
 erClick'
+,%0A%09%09%09'click #set-post-thumbnail' : 'openMediaManager',%0A%09%09%09'click #remove-post-thumbnail' : 'removePostThumbnail',
 %0A%09%09%7D,%0A%0A%09
@@ -718,16 +718,263 @@
 move();%0A
+%09%09%7D,%0A%0A%09%09openMediaManager: function( event ) %7B%0A%09%09%09event.stopPropagation();%0A%09%09%09event.preventDefault();%0A%09%09%09wp.media.featuredImage.frame().open();%0A%09%09%7D,%0A%0A%09%09removePostThumbnail: function( event ) %7B%0A%09%09%09//wp.media.view.settings.post.featuredImageId = -1;%0A
 %09%09%7D%0A%0A%09%7D 

Add media manager open JS method