                 //
                 detailVC.present(picker, animated: true, completion: {})
             }
-                
-
-            section4.rows.append(row)
             
             
+            section4.rows.append(row)
             form.sections=[section1,section0,section2,section3,section4]
-
+            
             
             
             formVC.form=form
             
-            //formVC.modalPresentationStyle=UIModalPresentationStyle.overCurrentContext
             
-            //let formNC=UINavigationController(rootViewController: formVC)
-            //formNC.modalPresentationStyle=UIModalPresentationStyle.overCurrentContext
             
-            //detailVC.present(formNC, animated: true, completion: {})
+            func save() {
+                print("Hell yes")
+            }
+            func cancel() {
+                print("WHAAAAAT")
+                
+            }
+            
+            
+            formVC.saveHandler=save
+            formVC.cancelHandler=cancel
             
             detailVC.navigationController?.pushViewController(formVC, animated: true)
             

            
            let options: [String:String]=optionsOpt
            let optionsListKeys: [String]=optionsListKeysOpt


            let form = FormDescriptor()
            form.title = "Störung melden"
            

            
            row = FormRowDescriptor(tag: PT.MONTEUR.rawValue, type: .text, title: "User")
            row.configuration.cell.appearance = ["textField.placeholder" : "Monteurname" as AnyObject, "textField.textAlignment" : NSTextAlignment.right.rawValue as AnyObject]
            
            row.value=CidsConnector.sharedInstance().login as AnyObject?
            
            section1.rows.append(row)
            row = FormRowDescriptor(tag: PT.DATUM.rawValue, type: .date, title: "Datum")
            
            row.value=Date() as AnyObject?
            
            section1.rows.append(row)
            let section2 = FormSectionDescriptor(headerTitle: nil, footerTitle: nil)
            row = FormRowDescriptor(tag: PT.BEMERKUNG.rawValue, type: .multilineText, title: "")
            section2.headerTitle = "Beschreibung"
            
            section2.rows.append(row)
            let section3 = FormSectionDescriptor(headerTitle: nil, footerTitle: nil)
            row = FormRowDescriptor(tag: PT.MATERIAL.rawValue, type: .multilineText, title: "")
