- add two slots, open, close, in addition of dialog, to be able to overwrite content