So this is a function available on the api of the postdialog