         server["/tablet/dialog"] = dialogRequest(request:)
         server["/tablet/choice"] = choiceRequest(request:)
 		server["/tablet/availableSensors"] = self.sensorAvailabilityRequest
-		
-//		// /tablet/dialog?title=x&question=y&holder=z
-//		server["/tablet/dialog"] = self.dialogRequest
-//		
-//		// /tablet/choice?title=x&question=y&button1=z&button2=q
-//		server["/tablet/choice"] = self.choiceRequest
     }
 	
 	func sensorAvailabilityRequest(request: HttpRequest) -> HttpResponse {

				}
			}
			
			let cancelAction = UIAlertAction(title: "Cancel", style: UIAlertActionStyle.cancel){
				(action) -> Void in
				let _ = FrontendCallbackCenter.shared.dialogPromptResponded(cancelled: true,
				                                                            response: nil)

    func dialogRequest(request: HttpRequest) -> HttpResponse {
        let captured = BBTSequentialQueryArrayToDict(request.queryParams)
		
        if let title = captured["title"], let question = captured["question"],
            let okText = captured["okText"], let cancelText = captured["cancelText"] {
			
			let answerHolder: String? = captured["placeholder"]
			let prefillText: String? = captured["prefill"]
			let shouldSelectAll = (captured["selectAll"] == "true") && (prefillText != nil)
            
