I would like to make a panel look like a ChoiceDialog
.
Let's say a have a panel like this:
Panel[Column[{Style["What's the gender?", FontFamily -> "Calibri",
FontSize -> 14], PopupMenu[Dynamic[x], optionsGender], " ",
Style["What's the academic title?", FontFamily -> "Calibri",
FontSize -> 14], PopupMenu[Dynamic[y], optionsTitle],
Button["Yeah!", Print[x, " ", y]]}]]
After clicking the button, I want to make the whole panel disappear and only leave the print in the output. Does anyone know how to do that? Thx in advance.