public void CreateFile() { Dialog = Dialogs.ShowEditDialog("Create File", "Create", "Cancel", "", fileName => { if (fileName != null) { BrowserService.CreateFile(fileName); } }); }