 			@style =
 				cursor: "default"
 
+		@close.onClick =>
+			@_closeSheet()
+			@options.fixed = true
+			localStorage.setItem("framerShareSheetState-#{@options.id}", 'closed')
 		@open.onClick =>
 			@_openSheet()
+			@options.fixed = true
+			localStorage.setItem("framerShareSheetState-#{@options.id}", 'open')
 
 		# When the window resizes evaluate if the sheet needs to be hidden
 		Canvas.onResize =>


	# Render main sheet
	_renderSheet: ->
		@sheet = new Layer
			width: @options.width
			clip: true
			point: 10
			borderRadius: 4
			backgroundColor: "#FFF"

		# Wait until the device screen x position is available
		Utils.delay .1, =>
			@_calculateAvailableSpace()

			if @state is "open"
				@_openSheet()
			else if @state is "closed"
				@_closeSheet()
			else
				@_openIfEnoughSpace()

		@_startListening()

